{"id":5022,"date":"2014-06-12T11:30:55","date_gmt":"2014-06-12T02:30:55","guid":{"rendered":"http:\/\/www.creationline.com\/?p=5022"},"modified":"2026-05-27T22:14:35","modified_gmt":"2026-05-27T13:14:35","slug":"softlayer-api-ruby-client-%e3%81%a7-nas-%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b-softlayer","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022","title":{"rendered":"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\u3059\u308b #softlayer"},"content":{"rendered":"<h2>NAS (Network Attached Storage) \u3068\u306f<\/h2>\n<p>SoftLayer \u306e<a href=\"http:\/\/www.softlayer.com\/cloud-storage\">\u30b9\u30c8\u30ec\u30fc\u30b8<\/a>\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f <a href=\"http:\/\/knowledgelayer.softlayer.com\/topic\/nas\">NAS<\/a> \u3092\u53d6\u308a\u6271\u3044\u307e\u3059\u3002<br \/>\n<a href=\"\/lab\/4254\">\u4ee5\u524d\u306e\u8a18\u4e8b<\/a> \u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u3001NAS (Network Attached Storage) \u3068\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531\u3067\u5229\u7528\u53ef\u80fd\u306a\u30b9\u30c8\u30ec\u30fc\u30b8\u3067\u3059\u3002\u73fe\u72b6\u3067\u306f <a href=\"https:\/\/ja.wikipedia.org\/wiki\/Common_Internet_File_System\">CIFS<\/a>(Common Internet File System)\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u7528\u3044\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>softlayer-api-ruby-client \u3067 NAS \u3092\u6ce8\u6587\u3059\u308b<\/h2>\n<p>NAS \u3082 softlayer-api-ruby-client \u3092\u7528\u3044\u3066\u6ce8\u6587\u304c\u53ef\u80fd\u3067\u3059\u3002<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder\">SoftLayer_Product_Order::placeOrder<\/a> \u3092\u7528\u3044\u307e\u3059\u304c\u3001\u3084\u306f\u308a\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002<a href=\"\/lab\/4887\">\u5148\u306e\u8a18\u4e8b<\/a>\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067 NAS \u306e Package ID \u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\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;firstOrderStepId&quot;=&gt;1,\n&quot;id&quot;=&gt;216,\n&quot;isActive&quot;=&gt;1,\n&quot;name&quot;=&gt;&quot;Network Attached Storage&quot;,\n&quot;unitSize&quot;=&gt;nil},\n:\n(\u4e2d\u7565)\n:<\/pre>\n<p>NAS \u306e Package ID \u306f <strong>216<\/strong> \u3068\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6b21\u306b NAS \u306e Price ID \u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u308c\u3082 <a href=\"\/lab\/4887\">\u5148\u306e\u8a18\u4e8b<\/a>\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3088\u3046\u306b\u78ba\u8a8d\u3057\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=\"\">Required Category &quot;Network Attached Storage&quot; -- 15:\n508 -- 20 GB NAS\n511 -- 250 GB NAS\n1347 -- 2000 GB NAS\n22437 -- 1 GB NAS\n509 -- 40 GB NAS\n1208 -- 1000 GB NAS\n1152 -- 500 GB NAS\n13708 -- 3000 GB NAS\n21690 -- 6000 GB NAS\n510 -- 80 GB NAS\n49 -- 100 GB NAS<\/pre>\n<p>\u3053\u308c\u3067 NAS \u3092\u6ce8\u6587\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a ID \u304c\u63c3\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>softlayer-api-ruby-client \u3067 NAS \u306e\u6ce8\u6587\u5185\u5bb9\u3092\u691c\u8a3c\u3059\u308b<\/h2>\n<p>NAS \u306e\u6ce8\u6587\u5185\u5bb9\u306f <a href=\"https:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order\">SoftLayer_Container_Product_Order<\/a> \u30c7\u30fc\u30bf\u30bf\u30a4\u30d7\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306a\u5f62\u306b\u306a\u308b\u3067\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=\"\">product_order = {\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',\n'quantity' =&gt; 1,\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID\n'packageId' =&gt; 216,   # NOTE: 216 is 'Network Attached Storage' package ID\n'useHourlyPricing' =&gt; false,\n'prices' =&gt; [\n{ 'id' =&gt; 22437 }, # 1 GB NAS\n]\n}<\/pre>\n<p>\u5148\u306e\u8a18\u4e8b\u3068\u540c\u69d8\u306b\u3001<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/verifyOrder\">SoftLayer_Product_Order::verifyOrder<\/a> \u3067\u6ce8\u6587\u5185\u5bb9\u3092\u691c\u8a3c\u3057\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=\"\">#!\/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# https:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order\n#\nproduct_order = {\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',\n'quantity' =&gt; 1,\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID\n'packageId' =&gt; 216, # NOTE: 216 is 'Network Attached Storage' package ID\n'useHourlyPricing' =&gt; false,\n'prices' =&gt; [\n{ 'id' =&gt; 22437 }, # 1 GB NAS\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 )\npp result\nputs &quot;The order was verified successfully&quot;\nrescue =&gt; error_reason\nputs &quot;The order could not be verified by the server: #{error_reason}&quot;\nexit\nend\n\nexit\n\n__END__<\/pre>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\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=\"\">{&quot;bigDataOrderFlag&quot;=&gt;false,\n&quot;billingOrderItemId&quot;=&gt;nil,\n&quot;containerSplHash&quot;=&gt;&quot;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;,\n&quot;currencyShortName&quot;=&gt;&quot;USD&quot;,\n&quot;extendedHardwareTesting&quot;=&gt;nil,\n&quot;imageTemplateId&quot;=&gt;nil,\n&quot;isManagedOrder&quot;=&gt;0,\n&quot;location&quot;=&gt;&quot;168642&quot;,\n&quot;locationObject&quot;=&gt;\n{&quot;id&quot;=&gt;168642,\n&quot;longName&quot;=&gt;&quot;San Jose 1&quot;,\n&quot;name&quot;=&gt;&quot;sjc01&quot;,\n&quot;activePresaleEvents&quot;=&gt;[]},\n&quot;packageId&quot;=&gt;216,\n&quot;postTaxRecurring&quot;=&gt;&quot;10&quot;,\n&quot;postTaxRecurringHourly&quot;=&gt;&quot;0&quot;,\n&quot;postTaxRecurringMonthly&quot;=&gt;&quot;10&quot;,\n&quot;postTaxSetup&quot;=&gt;&quot;0&quot;,\n&quot;preTaxRecurring&quot;=&gt;&quot;10&quot;,\n&quot;preTaxRecurringHourly&quot;=&gt;&quot;0&quot;,\n&quot;preTaxRecurringMonthly&quot;=&gt;&quot;10&quot;,\n&quot;preTaxSetup&quot;=&gt;&quot;0&quot;,\n&quot;presetId&quot;=&gt;nil,\n&quot;prices&quot;=&gt;\n[{&quot;currentPriceFlag&quot;=&gt;nil,\n&quot;id&quot;=&gt;22437,\n&quot;itemId&quot;=&gt;4469,\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;5.6666666666667&quot;,\n&quot;proratedRecurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;10&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;nas&quot;,\n&quot;id&quot;=&gt;15,\n&quot;name&quot;=&gt;&quot;Network Attached Storage&quot;,\n&quot;quantityLimit&quot;=&gt;0}],\n&quot;item&quot;=&gt;\n{&quot;capacity&quot;=&gt;&quot;1&quot;,\n&quot;description&quot;=&gt;&quot;1 GB NAS&quot;,\n&quot;id&quot;=&gt;4469,\n&quot;softwareDescriptionId&quot;=&gt;nil,\n&quot;units&quot;=&gt;&quot;GIGABYTE&quot;,\n&quot;upgradeItemId&quot;=&gt;40,\n&quot;bundle&quot;=&gt;[]}}],\n&quot;primaryDiskPartitionId&quot;=&gt;nil,\n&quot;privateCloudOrderFlag&quot;=&gt;false,\n&quot;proratedInitialCharge&quot;=&gt;&quot;19.67&quot;,\n&quot;proratedOrderTotal&quot;=&gt;&quot;5.67&quot;,\n&quot;quantity&quot;=&gt;1,\n&quot;resourceGroupId&quot;=&gt;nil,\n&quot;resourceGroupTemplateId&quot;=&gt;nil,\n&quot;sendQuoteEmailFlag&quot;=&gt;nil,\n&quot;serverCoreCount&quot;=&gt;nil,\n&quot;sourceVirtualGuestId&quot;=&gt;nil,\n&quot;sshKeys&quot;=&gt;[],\n&quot;stepId&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[],\n&quot;totalRecurringTax&quot;=&gt;&quot;0&quot;,\n&quot;totalSetupTax&quot;=&gt;&quot;0&quot;,\n&quot;useHourlyPricing&quot;=&gt;false}\nThe order was verified successfully<\/pre>\n<p>\u6ce8\u6587\u5185\u5bb9\u304c\u554f\u984c\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>softlayer-api-ruby-client \u3067 NAS \u3092\u6ce8\u6587\u3059\u308b<\/h2>\n<p>\u3067\u306f\u3001\u691c\u8a3c\u3057\u305f\u6ce8\u6587\u5185\u5bb9\u3092\u5b9f\u969b\u306b\u6ce8\u6587\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u6b21\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\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# https:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order\n#\nproduct_order = {\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',\n'quantity' =&gt; 1,\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID\n'packageId' =&gt; 216, # NOTE: 216 is 'Network Attached Storage' package ID\n'useHourlyPricing' =&gt; false,\n'prices' =&gt; [\n{ 'id' =&gt; 22437 }, # 1 GB NAS\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;\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\nexit\n\n__END__<\/pre>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\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\nThe order was placed successfully\n{&quot;orderDate&quot;=&gt;&quot;2014-06-10T17:15:12+09:00&quot;,\n&quot;orderDetails&quot;=&gt;\n{&quot;bigDataOrderFlag&quot;=&gt;false,\n:\n(\u4e2d\u7565)\n:\n&quot;billingOrderItemId&quot;=&gt;nil,\n&quot;containerSplHash&quot;=&gt;&quot;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;,\n&quot;currencyShortName&quot;=&gt;&quot;USD&quot;,\n&quot;extendedHardwareTesting&quot;=&gt;nil,\n&quot;imageTemplateId&quot;=&gt;nil,\n&quot;isManagedOrder&quot;=&gt;0,\n&quot;itemCategoryQuestionAnswers&quot;=&gt;[],\n&quot;location&quot;=&gt;&quot;168642&quot;,\n&quot;locationObject&quot;=&gt;\n{&quot;id&quot;=&gt;168642,\n&quot;longName&quot;=&gt;&quot;San Jose 1&quot;,\n&quot;name&quot;=&gt;&quot;sjc01&quot;,\n&quot;activePresaleEvents&quot;=&gt;[]},\n&quot;packageId&quot;=&gt;216,\n&quot;paymentType&quot;=&gt;&quot;CARD_ON_FILE&quot;,\n&quot;postTaxRecurring&quot;=&gt;&quot;10&quot;,\n&quot;postTaxRecurringHourly&quot;=&gt;&quot;0&quot;,\n&quot;postTaxRecurringMonthly&quot;=&gt;&quot;10&quot;,\n&quot;postTaxSetup&quot;=&gt;&quot;0&quot;,\n&quot;preTaxRecurring&quot;=&gt;&quot;10&quot;,\n&quot;preTaxRecurringHourly&quot;=&gt;&quot;0&quot;,\n&quot;preTaxRecurringMonthly&quot;=&gt;&quot;10&quot;,\n&quot;preTaxSetup&quot;=&gt;&quot;0&quot;,\n&quot;presetId&quot;=&gt;nil,\n&quot;prices&quot;=&gt;\n[{&quot;currentPriceFlag&quot;=&gt;nil,\n&quot;id&quot;=&gt;22437,\n&quot;itemId&quot;=&gt;4469,\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;5.6666666666667&quot;,\n&quot;proratedRecurringFeeTax&quot;=&gt;&quot;0&quot;,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;10&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;nas&quot;,\n&quot;id&quot;=&gt;15,\n&quot;name&quot;=&gt;&quot;Network Attached Storage&quot;,\n&quot;quantityLimit&quot;=&gt;0}],\n&quot;item&quot;=&gt;\n{&quot;capacity&quot;=&gt;&quot;1&quot;,\n&quot;description&quot;=&gt;&quot;1 GB NAS&quot;,\n&quot;id&quot;=&gt;4469,\n&quot;softwareDescriptionId&quot;=&gt;nil,\n&quot;units&quot;=&gt;&quot;GIGABYTE&quot;,\n&quot;upgradeItemId&quot;=&gt;40,\n&quot;bundle&quot;=&gt;[]}}],\n&quot;primaryDiskPartitionId&quot;=&gt;nil,\n&quot;privateCloudOrderFlag&quot;=&gt;false,\n&quot;properties&quot;=&gt;[],\n&quot;proratedInitialCharge&quot;=&gt;&quot;19.67&quot;,\n&quot;proratedOrderTotal&quot;=&gt;&quot;5.67&quot;,\n&quot;quantity&quot;=&gt;1,\n&quot;resourceGroupId&quot;=&gt;nil,\n&quot;resourceGroupTemplateId&quot;=&gt;nil,\n&quot;sendQuoteEmailFlag&quot;=&gt;nil,\n&quot;serverCoreCount&quot;=&gt;nil,\n&quot;sourceVirtualGuestId&quot;=&gt;nil,\n&quot;sshKeys&quot;=&gt;[],\n&quot;stepId&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[],\n&quot;totalRecurringTax&quot;=&gt;&quot;0&quot;,\n&quot;totalSetupTax&quot;=&gt;&quot;0&quot;,\n&quot;useHourlyPricing&quot;=&gt;false},\n&quot;orderId&quot;=&gt;XXXXX02,\n&quot;placedOrder&quot;=&gt;\n{&quot;accountId&quot;=&gt;XXXX78,\n&quot;createDate&quot;=&gt;&quot;2014-06-10T17:15:11+09:00&quot;,\n&quot;id&quot;=&gt;XXXXX02,\n&quot;impersonatingUserRecordId&quot;=&gt;nil,\n&quot;modifyDate&quot;=&gt;nil,\n&quot;orderQuoteId&quot;=&gt;nil,\n&quot;orderTypeId&quot;=&gt;4,\n&quot;presaleEventId&quot;=&gt;nil,\n&quot;privateCloudOrderFlag&quot;=&gt;false,\n&quot;status&quot;=&gt;&quot;PENDING_AUTO_APPROVAL&quot;,\n&quot;userRecordId&quot;=&gt;181942,\n&quot;account&quot;=&gt;\n:\n(\u4e2d\u7565)\n:\n&quot;items&quot;=&gt;\n[{&quot;categoryCode&quot;=&gt;&quot;nas&quot;,\n&quot;description&quot;=&gt;&quot;1 GB NAS&quot;,\n&quot;id&quot;=&gt;XXXXXX38,\n&quot;itemId&quot;=&gt;4469,\n&quot;itemPriceId&quot;=&gt;&quot;22437&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;nil,\n&quot;promoCodeId&quot;=&gt;nil,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;10&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;nas&quot;,\n&quot;id&quot;=&gt;15,\n&quot;name&quot;=&gt;&quot;Network Attached Storage&quot;,\n&quot;quantityLimit&quot;=&gt;0},\n&quot;children&quot;=&gt;[],\n&quot;location&quot;=&gt;{&quot;id&quot;=&gt;168642, &quot;longName&quot;=&gt;&quot;San Jose 1&quot;, &quot;name&quot;=&gt;&quot;sjc01&quot;},\n&quot;order&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[]}],\n&quot;orderTopLevelItems&quot;=&gt;\n[{&quot;categoryCode&quot;=&gt;&quot;nas&quot;,\n&quot;description&quot;=&gt;&quot;1 GB NAS&quot;,\n&quot;id&quot;=&gt;XXXXXX38,\n&quot;itemId&quot;=&gt;4469,\n&quot;itemPriceId&quot;=&gt;&quot;22437&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;nil,\n&quot;promoCodeId&quot;=&gt;nil,\n&quot;quantity&quot;=&gt;nil,\n&quot;recurringFee&quot;=&gt;&quot;10&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;nas&quot;,\n&quot;id&quot;=&gt;15,\n&quot;name&quot;=&gt;&quot;Network Attached Storage&quot;,\n&quot;quantityLimit&quot;=&gt;0},\n&quot;children&quot;=&gt;[],\n&quot;location&quot;=&gt;{&quot;id&quot;=&gt;168642, &quot;longName&quot;=&gt;&quot;San Jose 1&quot;, &quot;name&quot;=&gt;&quot;sjc01&quot;},\n&quot;order&quot;=&gt;nil,\n&quot;storageGroups&quot;=&gt;[]}],\n:\n(\u4e2d\u7565)\n:<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b 1GB NAS \u304c\u6ce8\u6587\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>softlayer-api-ruby-client \u3067 NAS \u3092\u78ba\u8a8d\u3059\u308b<\/h2>\n<p>\u30dd\u30fc\u30bf\u30eb\u306e <a href=\"https:\/\/control.softlayer.com\/storage\/nas\">NAS<\/a> \u304b\u3089\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001softlayer-api-ruby-client \u304b\u3089\u3082\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n<a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account\">SoftLayer_Account<\/a> \u30b5\u30fc\u30d3\u30b9\u306e <a href=\"http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account\/getNasNetworkStorage\">SoftLayer_Account::getNasNetworkStorage<\/a> \u3067 NAS \u306e\u4e00\u89a7\u304c\u78ba\u8a8d\u3067\u304d\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\/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# result\n#\npp account_service.getNasNetworkStorage\n\n__END__<\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u5148\u306b\u6ce8\u6587\u3057\u305f NAS \u306e\u5185\u5bb9\u304c\u53d6\u5f97\u3067\u304d\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=\"\">[{&quot;accountId&quot;=&gt;XXXX78,\n&quot;capacityGb&quot;=&gt;1,\n&quot;createDate&quot;=&gt;&quot;2014-06-10T17:15:18+09:00&quot;,\n&quot;guestId&quot;=&gt;nil,\n&quot;hardwareId&quot;=&gt;nil,\n&quot;hostId&quot;=&gt;nil,\n&quot;id&quot;=&gt;XXXXX18,\n&quot;nasType&quot;=&gt;&quot;NAS&quot;,\n&quot;password&quot;=&gt;&quot;XXXXXXXX&quot;,\n&quot;serviceProviderId&quot;=&gt;1,\n&quot;upgradableFlag&quot;=&gt;true,\n&quot;username&quot;=&gt;&quot;SLXXXX78-1&quot;,\n&quot;serviceResourceBackendIpAddress&quot;=&gt;&quot;nasXXX.service.softlayer.com&quot;,\n&quot;serviceResourceName&quot;=&gt;&quot;NASXXX&quot;}]<\/pre>\n<h2>NAS \u3092 Virtual Server \u304b\u3089\u5229\u7528\u3059\u308b<\/h2>\n<p>\u3053\u3053\u304b\u3089\u306f\u7279\u306b softlayer-api-ruby-client \u306f\u5229\u7528\u3057\u307e\u305b\u3093\u306e\u3067\u3001\u8a73\u7d30\u306f<a href=\"\/lab\/4254\">\u4ee5\u524d\u306e\u8a18\u4e8b<\/a>\u306b\u8b72\u308a\u3001\u7c21\u5358\u306b\u624b\u9806\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a <strong>cifs-utils<\/strong> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# apt-get install cifs-utils\n:\n(\u4e2d\u7565)\n:\nSetting up libavahi-common-data:amd64 (0.6.31-4ubuntu1) ...\nSetting up libavahi-common3:amd64 (0.6.31-4ubuntu1) ...\nSetting up libavahi-client3:amd64 (0.6.31-4ubuntu1) ...\nSetting up libcups2:amd64 (1.7.2-0ubuntu1) ...\nSetting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...\nSetting up libtalloc2:amd64 (2.1.0-1) ...\nSetting up libtdb1:amd64 (1.2.12-1) ...\nSetting up libtevent0:amd64 (0.9.19-1) ...\nSetting up libldb1:amd64 (1:1.1.16-1) ...\nSetting up libntdb1:amd64 (1.0-2ubuntu1) ...\nSetting up libpython2.7:amd64 (2.7.6-8) ...\nSetting up libwbclient0:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...\nSetting up python-ldb (1:1.1.16-1) ...\nSetting up python-talloc (2.1.0-1) ...\nSetting up samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...\nCreating config file \/etc\/samba\/smb.conf with new version\nSetting up samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...\nSetting up cifs-utils (2:6.0-1ubuntu2) ...\nSetting up keyutils (1.5.6-1) ...\nSetting up python-crypto (2.6.1-4build1) ...\nSetting up python-ntdb (1.0-2ubuntu1) ...\nSetting up python-tdb (1.2.12-1) ...\nSetting up python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...\nSetting up samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...\nProcessing triggers for libc-bin (2.19-0ubuntu6) ...\nroot@test-20140610171516:~#<\/pre>\n<p>NAS \u3092\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# mount -t cifs \/\/nasXXX.service.softlayer.com\/SLXXXX78-1 -o username=SLXXXX78-1,password=XXXXXXXX \/mnt\nroot@test-20140610171516:~#<\/pre>\n<p>\u30de\u30a6\u30f3\u30c8\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# df -h \/mnt\nFilesystem                                 Size  Used Avail Use% Mounted on\n\/\/nasXXX.service.softlayer.com\/SLXXXX78-1   16T  7.9T  8.2T  49% \/mnt\nroot@test-20140610171516:~#<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# ls -la \/mnt\/\ntotal 4\ndrwx------  2 XXXX86  513    0 Apr  9  2012 .\ndrwxr-xr-x 22 root   root 4096 Jun 10  2014 ..\nroot@test-20140610171516:~#<\/pre>\n<p>\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# umount \/mnt\nroot@test-20140610171516:~#<\/pre>\n<p>\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">root@test-20140610171516:~# df -h \/mnt\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/xvda2       25G  886M   23G   4% \/\nroot@test-20140610171516:~#<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>NAS \u306f\u9ad8\u901f\u3067\u4fe1\u983c\u6027\u304c\u3042\u308a\u30b3\u30b9\u30c8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u9593\u3067\u30c7\u30fc\u30bf\u306e\u5171\u6709\u3092\u884c\u3046\u306e\u306b\u6709\u52b9\u3067\u3057\u3087\u3046\u3002\u662f\u975e\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS \u3092\u53d6\u308a\u6271\u3044\u307e\u3059\u3002 \u4ee5\u524d\u306e\u8a18\u4e8b \u3067\u3082\u89e6\u308c\u307e\u3057\u305f\u304c\u3001NAS (Netwo [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"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-5022","post","type-post","status-publish","format-standard","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 NAS \u3092\u8ffd\u52a0\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 |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS\" \/>\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\/5022\" \/>\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 NAS \u3092\u8ffd\u52a0\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 |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022\" \/>\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-12T02:30:55+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\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\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=\"10\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\\\/5022#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\u3059\u308b #softlayer\",\"datePublished\":\"2014-06-12T02:30:55+00:00\",\"dateModified\":\"2026-05-27T13:14:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\"},\"wordCount\":70,\"articleSection\":[\"d-higuchi\",\"Ruby\",\"softlayer\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\",\"name\":\"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\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\"},\"datePublished\":\"2014-06-12T02:30:55+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 |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022#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 NAS \u3092\u8ffd\u52a0\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 NAS \u3092\u8ffd\u52a0\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"d-higuchi, Ruby, softlayer |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS","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\/5022","og_locale":"ja_JP","og_type":"article","og_title":"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\u3059\u308b #softlayer - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"d-higuchi, Ruby, softlayer |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS","og_url":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022","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-12T02:30:55+00:00","article_modified_time":"2026-05-27T13:14:35+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.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":"10\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\u3059\u308b #softlayer","datePublished":"2014-06-12T02:30:55+00:00","dateModified":"2026-05-27T13:14:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022"},"wordCount":70,"articleSection":["d-higuchi","Ruby","softlayer"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022","url":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022","name":"softlayer-api-ruby-client \u3067 NAS \u3092\u8ffd\u52a0\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"},"datePublished":"2014-06-12T02:30:55+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 |NAS (Network Attached Storage) \u3068\u306f SoftLayer \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u8a18\u4e8b\u3067\u306f NAS","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022#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 NAS \u3092\u8ffd\u52a0\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\/5022","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=5022"}],"version-history":[{"count":3,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/5022\/revisions"}],"predecessor-version":[{"id":83988,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/5022\/revisions\/83988"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=5022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=5022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=5022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}