{"id":5022,"date":"2014-06-12T11:30:55","date_gmt":"2014-06-12T02:30:55","guid":{"rendered":"http:\/\/www.creationline.com\/?p=5022"},"modified":"2023-08-29T12:53:34","modified_gmt":"2023-08-29T03:53:34","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<p><code lang=\"ruby\"><br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n{\"firstOrderStepId\"=&gt;1,<br \/>\n\"id\"=&gt;216,<br \/>\n\"isActive\"=&gt;1,<br \/>\n\"name\"=&gt;\"Network Attached Storage\",<br \/>\n\"unitSize\"=&gt;nil},<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\nRequired Category \"Network Attached Storage\" -- 15:<br \/>\n508 -- 20 GB NAS<br \/>\n511 -- 250 GB NAS<br \/>\n1347 -- 2000 GB NAS<br \/>\n22437 -- 1 GB NAS<br \/>\n509 -- 40 GB NAS<br \/>\n1208 -- 1000 GB NAS<br \/>\n1152 -- 500 GB NAS<br \/>\n13708 -- 3000 GB NAS<br \/>\n21690 -- 6000 GB NAS<br \/>\n510 -- 80 GB NAS<br \/>\n49 -- 100 GB NAS<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\nproduct_order = {<br \/>\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',<br \/>\n'quantity' =&gt; 1,<br \/>\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID<br \/>\n'packageId' =&gt; 216,   # NOTE: 216 is 'Network Attached Storage' package ID<br \/>\n'useHourlyPricing' =&gt; false,<br \/>\n'prices' =&gt; [<br \/>\n{ 'id' =&gt; 22437 }, # 1 GB NAS<br \/>\n]<br \/>\n}<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\n#!\/usr\/bin\/ruby<\/code><\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>require 'softlayer_api'<br \/>\nrequire 'pp'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# fill your SoftLayer API username and API key<br \/>\n#<br \/>\napi_username = ENV['SOFTLAYER_API_USERNAME'] || 'YOUR_SOFTLAYER_API_USERNAME'<br \/>\napi_key = ENV['SOFTLAYER_API_KEY'] || 'YOUR_SOFTLAYER_API_KEY'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# https:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order<br \/>\n#<br \/>\nproduct_order = {<br \/>\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',<br \/>\n'quantity' =&gt; 1,<br \/>\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID<br \/>\n'packageId' =&gt; 216, # NOTE: 216 is 'Network Attached Storage' package ID<br \/>\n'useHourlyPricing' =&gt; false,<br \/>\n'prices' =&gt; [<br \/>\n{ 'id' =&gt; 22437 }, # 1 GB NAS<br \/>\n]<br \/>\n}<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order<br \/>\n#<br \/>\nproduct_order_service = SoftLayer::Service.new( 'SoftLayer_Product_Order',<br \/>\n:username =&gt; api_username,<br \/>\n:api_key =&gt; api_key,<br \/>\n)<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/verifyOrder<br \/>\n#<br \/>\nbegin<br \/>\nresult = product_order_service.verifyOrder( product_order )<br \/>\npp result<br \/>\nputs \"The order was verified successfully\"<br \/>\nrescue =&gt; error_reason<br \/>\nputs \"The order could not be verified by the server: #{error_reason}\"<br \/>\nexit<br \/>\nend<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>exit<\/p>\n<p><code lang=\"ruby\"><br \/>\n<\/code><\/p>\n<p><code lang=\"ruby\">__END__<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n{\"bigDataOrderFlag\"=&gt;false,<br \/>\n\"billingOrderItemId\"=&gt;nil,<br \/>\n\"containerSplHash\"=&gt;\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",<br \/>\n\"currencyShortName\"=&gt;\"USD\",<br \/>\n\"extendedHardwareTesting\"=&gt;nil,<br \/>\n\"imageTemplateId\"=&gt;nil,<br \/>\n\"isManagedOrder\"=&gt;0,<br \/>\n\"location\"=&gt;\"168642\",<br \/>\n\"locationObject\"=&gt;<br \/>\n{\"id\"=&gt;168642,<br \/>\n\"longName\"=&gt;\"San Jose 1\",<br \/>\n\"name\"=&gt;\"sjc01\",<br \/>\n\"activePresaleEvents\"=&gt;[]},<br \/>\n\"packageId\"=&gt;216,<br \/>\n\"postTaxRecurring\"=&gt;\"10\",<br \/>\n\"postTaxRecurringHourly\"=&gt;\"0\",<br \/>\n\"postTaxRecurringMonthly\"=&gt;\"10\",<br \/>\n\"postTaxSetup\"=&gt;\"0\",<br \/>\n\"preTaxRecurring\"=&gt;\"10\",<br \/>\n\"preTaxRecurringHourly\"=&gt;\"0\",<br \/>\n\"preTaxRecurringMonthly\"=&gt;\"10\",<br \/>\n\"preTaxSetup\"=&gt;\"0\",<br \/>\n\"presetId\"=&gt;nil,<br \/>\n\"prices\"=&gt;<br \/>\n[{\"currentPriceFlag\"=&gt;nil,<br \/>\n\"id\"=&gt;22437,<br \/>\n\"itemId\"=&gt;4469,<br \/>\n\"laborFee\"=&gt;\"0\",<br \/>\n\"onSaleFlag\"=&gt;nil,<br \/>\n\"oneTimeFee\"=&gt;\"0\",<br \/>\n\"oneTimeFeeTax\"=&gt;\"0\",<br \/>\n\"proratedRecurringFee\"=&gt;\"5.6666666666667\",<br \/>\n\"proratedRecurringFeeTax\"=&gt;\"0\",<br \/>\n\"quantity\"=&gt;nil,<br \/>\n\"recurringFee\"=&gt;\"10\",<br \/>\n\"recurringFeeTax\"=&gt;\"0\",<br \/>\n\"setupFee\"=&gt;\"0\",<br \/>\n\"sort\"=&gt;0,<br \/>\n\"categories\"=&gt;<br \/>\n[{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"id\"=&gt;15,<br \/>\n\"name\"=&gt;\"Network Attached Storage\",<br \/>\n\"quantityLimit\"=&gt;0}],<br \/>\n\"item\"=&gt;<br \/>\n{\"capacity\"=&gt;\"1\",<br \/>\n\"description\"=&gt;\"1 GB NAS\",<br \/>\n\"id\"=&gt;4469,<br \/>\n\"softwareDescriptionId\"=&gt;nil,<br \/>\n\"units\"=&gt;\"GIGABYTE\",<br \/>\n\"upgradeItemId\"=&gt;40,<br \/>\n\"bundle\"=&gt;[]}}],<br \/>\n\"primaryDiskPartitionId\"=&gt;nil,<br \/>\n\"privateCloudOrderFlag\"=&gt;false,<br \/>\n\"proratedInitialCharge\"=&gt;\"19.67\",<br \/>\n\"proratedOrderTotal\"=&gt;\"5.67\",<br \/>\n\"quantity\"=&gt;1,<br \/>\n\"resourceGroupId\"=&gt;nil,<br \/>\n\"resourceGroupTemplateId\"=&gt;nil,<br \/>\n\"sendQuoteEmailFlag\"=&gt;nil,<br \/>\n\"serverCoreCount\"=&gt;nil,<br \/>\n\"sourceVirtualGuestId\"=&gt;nil,<br \/>\n\"sshKeys\"=&gt;[],<br \/>\n\"stepId\"=&gt;nil,<br \/>\n\"storageGroups\"=&gt;[],<br \/>\n\"totalRecurringTax\"=&gt;\"0\",<br \/>\n\"totalSetupTax\"=&gt;\"0\",<br \/>\n\"useHourlyPricing\"=&gt;false}<br \/>\nThe order was verified successfully<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\n#!\/usr\/bin\/ruby<\/code><\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>require 'softlayer_api'<br \/>\nrequire 'pp'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# fill your SoftLayer API username and API key<br \/>\n#<br \/>\napi_username = ENV['SOFTLAYER_API_USERNAME'] || 'YOUR_SOFTLAYER_API_USERNAME'<br \/>\napi_key = ENV['SOFTLAYER_API_KEY'] || 'YOUR_SOFTLAYER_API_KEY'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# https:\/\/sldn.softlayer.com\/reference\/datatypes\/SoftLayer_Container_Product_Order<br \/>\n#<br \/>\nproduct_order = {<br \/>\n'complexType' =&gt; 'SoftLayer_Container_Product_Order',<br \/>\n'quantity' =&gt; 1,<br \/>\n'location' =&gt; 168642, # NOTE: 168642 is 'sjc01' location ID<br \/>\n'packageId' =&gt; 216, # NOTE: 216 is 'Network Attached Storage' package ID<br \/>\n'useHourlyPricing' =&gt; false,<br \/>\n'prices' =&gt; [<br \/>\n{ 'id' =&gt; 22437 }, # 1 GB NAS<br \/>\n]<br \/>\n}<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order<br \/>\n#<br \/>\nproduct_order_service = SoftLayer::Service.new( 'SoftLayer_Product_Order',<br \/>\n:username =&gt; api_username,<br \/>\n:api_key =&gt; api_key,<br \/>\n)<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/verifyOrder<br \/>\n#<br \/>\nbegin<br \/>\nresult = product_order_service.verifyOrder( product_order )<br \/>\nputs \"The order was verified successfully\"<br \/>\nrescue =&gt; error_reason<br \/>\nputs \"The order could not be verified by the server: #{error_reason}\"<br \/>\nexit<br \/>\nend<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Product_Order\/placeOrder<br \/>\n#<br \/>\nbegin<br \/>\nresult = product_order_service.placeOrder( product_order )<br \/>\nputs \"The order was placed successfully\"<br \/>\npp result<br \/>\nrescue =&gt; error_reason<br \/>\nputs \"The order could not be placed by the server: #{error_reason}\"<br \/>\nexit<br \/>\nend<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>exit<\/p>\n<p><code lang=\"ruby\"><br \/>\n<\/code><\/p>\n<p><code lang=\"ruby\">__END__<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u6b21\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\nThe order was verified successfully<br \/>\nThe order was placed successfully<br \/>\n{\"orderDate\"=&gt;\"2014-06-10T17:15:12+09:00\",<br \/>\n\"orderDetails\"=&gt;<br \/>\n{\"bigDataOrderFlag\"=&gt;false,<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n\"billingOrderItemId\"=&gt;nil,<br \/>\n\"containerSplHash\"=&gt;\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",<br \/>\n\"currencyShortName\"=&gt;\"USD\",<br \/>\n\"extendedHardwareTesting\"=&gt;nil,<br \/>\n\"imageTemplateId\"=&gt;nil,<br \/>\n\"isManagedOrder\"=&gt;0,<br \/>\n\"itemCategoryQuestionAnswers\"=&gt;[],<br \/>\n\"location\"=&gt;\"168642\",<br \/>\n\"locationObject\"=&gt;<br \/>\n{\"id\"=&gt;168642,<br \/>\n\"longName\"=&gt;\"San Jose 1\",<br \/>\n\"name\"=&gt;\"sjc01\",<br \/>\n\"activePresaleEvents\"=&gt;[]},<br \/>\n\"packageId\"=&gt;216,<br \/>\n\"paymentType\"=&gt;\"CARD_ON_FILE\",<br \/>\n\"postTaxRecurring\"=&gt;\"10\",<br \/>\n\"postTaxRecurringHourly\"=&gt;\"0\",<br \/>\n\"postTaxRecurringMonthly\"=&gt;\"10\",<br \/>\n\"postTaxSetup\"=&gt;\"0\",<br \/>\n\"preTaxRecurring\"=&gt;\"10\",<br \/>\n\"preTaxRecurringHourly\"=&gt;\"0\",<br \/>\n\"preTaxRecurringMonthly\"=&gt;\"10\",<br \/>\n\"preTaxSetup\"=&gt;\"0\",<br \/>\n\"presetId\"=&gt;nil,<br \/>\n\"prices\"=&gt;<br \/>\n[{\"currentPriceFlag\"=&gt;nil,<br \/>\n\"id\"=&gt;22437,<br \/>\n\"itemId\"=&gt;4469,<br \/>\n\"laborFee\"=&gt;\"0\",<br \/>\n\"onSaleFlag\"=&gt;nil,<br \/>\n\"oneTimeFee\"=&gt;\"0\",<br \/>\n\"oneTimeFeeTax\"=&gt;\"0\",<br \/>\n\"proratedRecurringFee\"=&gt;\"5.6666666666667\",<br \/>\n\"proratedRecurringFeeTax\"=&gt;\"0\",<br \/>\n\"quantity\"=&gt;nil,<br \/>\n\"recurringFee\"=&gt;\"10\",<br \/>\n\"recurringFeeTax\"=&gt;\"0\",<br \/>\n\"setupFee\"=&gt;\"0\",<br \/>\n\"sort\"=&gt;0,<br \/>\n\"categories\"=&gt;<br \/>\n[{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"id\"=&gt;15,<br \/>\n\"name\"=&gt;\"Network Attached Storage\",<br \/>\n\"quantityLimit\"=&gt;0}],<br \/>\n\"item\"=&gt;<br \/>\n{\"capacity\"=&gt;\"1\",<br \/>\n\"description\"=&gt;\"1 GB NAS\",<br \/>\n\"id\"=&gt;4469,<br \/>\n\"softwareDescriptionId\"=&gt;nil,<br \/>\n\"units\"=&gt;\"GIGABYTE\",<br \/>\n\"upgradeItemId\"=&gt;40,<br \/>\n\"bundle\"=&gt;[]}}],<br \/>\n\"primaryDiskPartitionId\"=&gt;nil,<br \/>\n\"privateCloudOrderFlag\"=&gt;false,<br \/>\n\"properties\"=&gt;[],<br \/>\n\"proratedInitialCharge\"=&gt;\"19.67\",<br \/>\n\"proratedOrderTotal\"=&gt;\"5.67\",<br \/>\n\"quantity\"=&gt;1,<br \/>\n\"resourceGroupId\"=&gt;nil,<br \/>\n\"resourceGroupTemplateId\"=&gt;nil,<br \/>\n\"sendQuoteEmailFlag\"=&gt;nil,<br \/>\n\"serverCoreCount\"=&gt;nil,<br \/>\n\"sourceVirtualGuestId\"=&gt;nil,<br \/>\n\"sshKeys\"=&gt;[],<br \/>\n\"stepId\"=&gt;nil,<br \/>\n\"storageGroups\"=&gt;[],<br \/>\n\"totalRecurringTax\"=&gt;\"0\",<br \/>\n\"totalSetupTax\"=&gt;\"0\",<br \/>\n\"useHourlyPricing\"=&gt;false},<br \/>\n\"orderId\"=&gt;XXXXX02,<br \/>\n\"placedOrder\"=&gt;<br \/>\n{\"accountId\"=&gt;XXXX78,<br \/>\n\"createDate\"=&gt;\"2014-06-10T17:15:11+09:00\",<br \/>\n\"id\"=&gt;XXXXX02,<br \/>\n\"impersonatingUserRecordId\"=&gt;nil,<br \/>\n\"modifyDate\"=&gt;nil,<br \/>\n\"orderQuoteId\"=&gt;nil,<br \/>\n\"orderTypeId\"=&gt;4,<br \/>\n\"presaleEventId\"=&gt;nil,<br \/>\n\"privateCloudOrderFlag\"=&gt;false,<br \/>\n\"status\"=&gt;\"PENDING_AUTO_APPROVAL\",<br \/>\n\"userRecordId\"=&gt;181942,<br \/>\n\"account\"=&gt;<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n\"items\"=&gt;<br \/>\n[{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"description\"=&gt;\"1 GB NAS\",<br \/>\n\"id\"=&gt;XXXXXX38,<br \/>\n\"itemId\"=&gt;4469,<br \/>\n\"itemPriceId\"=&gt;\"22437\",<br \/>\n\"laborFee\"=&gt;\"0\",<br \/>\n\"laborFeeTaxRate\"=&gt;\"0\",<br \/>\n\"oneTimeFee\"=&gt;\"0\",<br \/>\n\"oneTimeFeeTaxRate\"=&gt;\"0\",<br \/>\n\"parentId\"=&gt;nil,<br \/>\n\"promoCodeId\"=&gt;nil,<br \/>\n\"quantity\"=&gt;nil,<br \/>\n\"recurringFee\"=&gt;\"10\",<br \/>\n\"setupFee\"=&gt;\"0\",<br \/>\n\"setupFeeDeferralMonths\"=&gt;12,<br \/>\n\"setupFeeTaxRate\"=&gt;\"0\",<br \/>\n\"bundledItems\"=&gt;[],<br \/>\n\"category\"=&gt;<br \/>\n{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"id\"=&gt;15,<br \/>\n\"name\"=&gt;\"Network Attached Storage\",<br \/>\n\"quantityLimit\"=&gt;0},<br \/>\n\"children\"=&gt;[],<br \/>\n\"location\"=&gt;{\"id\"=&gt;168642, \"longName\"=&gt;\"San Jose 1\", \"name\"=&gt;\"sjc01\"},<br \/>\n\"order\"=&gt;nil,<br \/>\n\"storageGroups\"=&gt;[]}],<br \/>\n\"orderTopLevelItems\"=&gt;<br \/>\n[{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"description\"=&gt;\"1 GB NAS\",<br \/>\n\"id\"=&gt;XXXXXX38,<br \/>\n\"itemId\"=&gt;4469,<br \/>\n\"itemPriceId\"=&gt;\"22437\",<br \/>\n\"laborFee\"=&gt;\"0\",<br \/>\n\"laborFeeTaxRate\"=&gt;\"0\",<br \/>\n\"oneTimeFee\"=&gt;\"0\",<br \/>\n\"oneTimeFeeTaxRate\"=&gt;\"0\",<br \/>\n\"parentId\"=&gt;nil,<br \/>\n\"promoCodeId\"=&gt;nil,<br \/>\n\"quantity\"=&gt;nil,<br \/>\n\"recurringFee\"=&gt;\"10\",<br \/>\n\"setupFee\"=&gt;\"0\",<br \/>\n\"setupFeeDeferralMonths\"=&gt;12,<br \/>\n\"setupFeeTaxRate\"=&gt;\"0\",<br \/>\n\"bundledItems\"=&gt;[],<br \/>\n\"category\"=&gt;<br \/>\n{\"categoryCode\"=&gt;\"nas\",<br \/>\n\"id\"=&gt;15,<br \/>\n\"name\"=&gt;\"Network Attached Storage\",<br \/>\n\"quantityLimit\"=&gt;0},<br \/>\n\"children\"=&gt;[],<br \/>\n\"location\"=&gt;{\"id\"=&gt;168642, \"longName\"=&gt;\"San Jose 1\", \"name\"=&gt;\"sjc01\"},<br \/>\n\"order\"=&gt;nil,<br \/>\n\"storageGroups\"=&gt;[]}],<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\n#!\/usr\/bin\/ruby<\/code><\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>require 'softlayer_api'<br \/>\nrequire 'pp'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# fill your SoftLayer API username and API key<br \/>\n#<br \/>\napi_username = ENV['SOFTLAYER_API_USERNAME'] || 'YOUR_SOFTLAYER_API_USERNAME'<br \/>\napi_key = ENV['SOFTLAYER_API_KEY'] || 'YOUR_SOFTLAYER_API_KEY'<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# http:\/\/sldn.softlayer.com\/reference\/services\/SoftLayer_Account<br \/>\n#<br \/>\naccount_service = SoftLayer::Service.new( 'SoftLayer_Account',<br \/>\n:username =&gt; api_username,<br \/>\n:api_key =&gt; api_key,<br \/>\n)<\/p>\n<p><code lang=\"ruby\"><code lang=\"ruby\"><\/code><\/code><\/p>\n<p>#<br \/>\n# result<br \/>\n#<br \/>\npp account_service.getNasNetworkStorage<\/p>\n<p><code lang=\"ruby\"><br \/>\n<\/code><\/p>\n<p><code lang=\"ruby\">__END__<br \/>\n<\/code><\/p>\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<p><code lang=\"ruby\"><br \/>\n[{\"accountId\"=&gt;XXXX78,<br \/>\n\"capacityGb\"=&gt;1,<br \/>\n\"createDate\"=&gt;\"2014-06-10T17:15:18+09:00\",<br \/>\n\"guestId\"=&gt;nil,<br \/>\n\"hardwareId\"=&gt;nil,<br \/>\n\"hostId\"=&gt;nil,<br \/>\n\"id\"=&gt;XXXXX18,<br \/>\n\"nasType\"=&gt;\"NAS\",<br \/>\n\"password\"=&gt;\"XXXXXXXX\",<br \/>\n\"serviceProviderId\"=&gt;1,<br \/>\n\"upgradableFlag\"=&gt;true,<br \/>\n\"username\"=&gt;\"SLXXXX78-1\",<br \/>\n\"serviceResourceBackendIpAddress\"=&gt;\"nasXXX.service.softlayer.com\",<br \/>\n\"serviceResourceName\"=&gt;\"NASXXX\"}]<br \/>\n<\/code><\/p>\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<p><code><br \/>\nroot@test-20140610171516:~# apt-get install cifs-utils<br \/>\n:<br \/>\n(\u4e2d\u7565)<br \/>\n:<br \/>\nSetting up libavahi-common-data:amd64 (0.6.31-4ubuntu1) ...<br \/>\nSetting up libavahi-common3:amd64 (0.6.31-4ubuntu1) ...<br \/>\nSetting up libavahi-client3:amd64 (0.6.31-4ubuntu1) ...<br \/>\nSetting up libcups2:amd64 (1.7.2-0ubuntu1) ...<br \/>\nSetting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...<br \/>\nSetting up libtalloc2:amd64 (2.1.0-1) ...<br \/>\nSetting up libtdb1:amd64 (1.2.12-1) ...<br \/>\nSetting up libtevent0:amd64 (0.9.19-1) ...<br \/>\nSetting up libldb1:amd64 (1:1.1.16-1) ...<br \/>\nSetting up libntdb1:amd64 (1.0-2ubuntu1) ...<br \/>\nSetting up libpython2.7:amd64 (2.7.6-8) ...<br \/>\nSetting up libwbclient0:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...<br \/>\nSetting up python-ldb (1:1.1.16-1) ...<br \/>\nSetting up python-talloc (2.1.0-1) ...<br \/>\nSetting up samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...<br \/>\nCreating config file \/etc\/samba\/smb.conf with new version<br \/>\nSetting up samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...<br \/>\nSetting up cifs-utils (2:6.0-1ubuntu2) ...<br \/>\nSetting up keyutils (1.5.6-1) ...<br \/>\nSetting up python-crypto (2.6.1-4build1) ...<br \/>\nSetting up python-ntdb (1.0-2ubuntu1) ...<br \/>\nSetting up python-tdb (1.2.12-1) ...<br \/>\nSetting up python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...<br \/>\nSetting up samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.1) ...<br \/>\nProcessing triggers for libc-bin (2.19-0ubuntu6) ...<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\n<p>NAS \u3092\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nroot@test-20140610171516:~# mount -t cifs \/\/nasXXX.service.softlayer.com\/SLXXXX78-1 -o username=SLXXXX78-1,password=XXXXXXXX \/mnt<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\n<p>\u30de\u30a6\u30f3\u30c8\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nroot@test-20140610171516:~# df -h \/mnt<br \/>\nFilesystem                                 Size  Used Avail Use% Mounted on<br \/>\n\/\/nasXXX.service.softlayer.com\/SLXXXX78-1   16T  7.9T  8.2T  49% \/mnt<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\n<p><code><br \/>\nroot@test-20140610171516:~# ls -la \/mnt\/<br \/>\ntotal 4<br \/>\ndrwx------  2 XXXX86  513    0 Apr  9  2012 .<br \/>\ndrwxr-xr-x 22 root   root 4096 Jun 10  2014 ..<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\n<p>\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nroot@test-20140610171516:~# umount \/mnt<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\n<p>\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nroot@test-20140610171516:~# df -h \/mnt<br \/>\nFilesystem      Size  Used Avail Use% Mounted on<br \/>\n\/dev\/xvda2       25G  886M   23G   4% \/<br \/>\nroot@test-20140610171516:~#<br \/>\n<\/code><\/p>\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.4 - 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=\"2023-08-29T03:53:34+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=\"7\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\":\"2023-08-29T03:53:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/others\\\/ruby\\\/5022\"},\"wordCount\":474,\"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\":\"2023-08-29T03:53:34+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\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\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":"2023-08-29T03:53:34+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":"7\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":"2023-08-29T03:53:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/others\/ruby\/5022"},"wordCount":474,"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":"2023-08-29T03:53:34+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\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\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":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/5022\/revisions"}],"predecessor-version":[{"id":65747,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/5022\/revisions\/65747"}],"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}]}}