lib/azure/armrest/model/storage_account.rb
# Update the given +blob+ in +container+ with the provided options. The
# possible options are:
#
# cache_control
# content_disposition
# content_encoding
# content_language
# content_length
# content_md5
# content_type
# lease_id
# version
#
# The content_length option is only value for page blobs, and is used
# to resize the blob.
#
Update the given +blob+ in +container+ with the provided options. The
possible options are.



The content_length option is only value for page blobs, and is used
to resize the blob.
Update the given + blob + in + container + with the provided options . The possible options are . The content_length option is only value for page blobs and is used to resize the blob .
def update_blob_properties(container, blob, key = access_key, options = {})
        raise ArgumentError, "No access key specified" unless key
        url = File.join(properties.primary_endpoints.blob, container, blob) + "?comp=properties"
        hash = options.transform_keys { |okey| "x-ms-blob-" + okey.to_s.tr('_', '-') }
        hash['verb'] = 'PUT'
        headers = build_headers(url, key, :blob, hash)
        response = ArmrestService.send(
          :rest_put,
          :url         => url,
          :headers     => headers,
          :proxy       => configuration.proxy,
          :ssl_version => configuration.ssl_version,
          :ssl_verify  => configuration.ssl_verify,
          :timeout     => configuration.timeout
        )
        BlobProperty.new(response.headers.merge(:container => container, :name => blob))
      end
def update_blob_properties ( container , blob , key = access_key , options = { } ) raise ArgumentError , "No access key specified" unless key url = File . join ( properties . primary_endpoints . blob , container , blob ) + "?comp=properties" hash = options . transform_keys { | okey | "x-ms-blob-" + okey . to_s . tr ( '_' , '-' ) } hash [ 'verb' ] = 'PUT' headers = build_headers ( url , key , :blob , hash ) response = ArmrestService . send ( :rest_put , :url => url , :headers => headers , :proxy => configuration . proxy , :ssl_version => configuration . ssl_version , :ssl_verify => configuration . ssl_verify , :timeout => configuration . timeout ) BlobProperty . new ( response . headers . merge ( :container => container , :name => blob ) ) end
Update the given +blob+ in +container+ with the provided options.
Update the given + blob + in + container + with the provided options .
container
<not_specific>
blob
<not_specific>
key
<not_specific>
access_key
<not_specific>
options
<not_specific>