lib/azure/armrest/model/storage_account.rb
# Create a new directory under the specified +share+ or parent directory.
#
# The only supported option at this time is a "timeout" option.
#
Create a new directory under the specified +share+ or parent directory.
The only supported option at this time is a "timeout" option.
Create a new directory under the specified + share + or parent directory . The only supported option at this time is a " timeout " option .
def create_directory(share, directory, key = access_key, options = {})
        raise ArgumentError, "No access key specified" unless key
        query = {:restype => 'directory'}.merge(options).to_query
        response = file_response(key, query, 'put', '', File.join(share, directory))
        Azure::Armrest::ResponseHeaders.new(response.headers).tap do |rh|
          rh.response_code = response.code
        end
      end
def create_directory ( share , directory , key = access_key , options = { } ) raise ArgumentError , "No access key specified" unless key query = { :restype => 'directory' } . merge ( options ) . to_query response = file_response ( key , query , 'put' , '' , File . join ( share , directory ) ) Azure :: Armrest :: ResponseHeaders . new ( response . headers ) . tap do | rh | rh . response_code = response . code end end
Create a new directory under the specified +share+ or parent directory.
Create a new directory under the specified + share + or parent directory .
share
<not_specific>
directory
<not_specific>
key
<not_specific>
access_key
<not_specific>
options
<not_specific>