Set default storage service version using portal

Beantwortet Set default storage service version using portal

  • Montag, 28. Mai 2012 04:16
     
     
    I want to set the default version of my storage service so that it recognizes range headers using the format "bytes=nnn-". The only documentation I can find for setting the service properties is to use the REST API. Is there really no way to do this through the portal? It seems like overkill to get a remote management tool set up just to set one parameter.

Alle Antworten

  • Montag, 28. Mai 2012 09:15
    Moderator
     
     

    Hi,

    Do you mean something like this? x-ms-version: 2011-10-01 in the HttpRequest header?

    As far as i know, there's no related function in Management portal, because Azure platform is a public cloud platform, everyone can send request to Azure if they can provide credentials (such as certificate of REST API). correct me if i am wrong.

    BR,

    Arwind


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

  • Montag, 28. Mai 2012 16:55
     
     

    Yes, like that, but apparently you can set the default value for the version using the management API:

    http://msdn.microsoft.com/en-us/library/windowsazure/hh343266.aspx

    I can set this up, but it seems really shortsighted to not be able to set and view these values in the management portal.

  • Dienstag, 29. Mai 2012 02:41
    Moderator
     
     

    Hi,

    As far as i know, Microsoft Storage Service Version can not be set a default value, x-ms-version property is Required for all authenticated requests. Specifies the version of the operation to use for this request. It's not just a property of Storage service, you can also looks other REST APIs, every REST APIs requires this version number.
    In general, the latest version number is recommended, more details please refer to the following article:

    http://msdn.microsoft.com/en-us/library/windowsazure/dd894041

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

  • Dienstag, 29. Mai 2012 04:27
     
     

    The above link would suggest you are incorrect, you can set a "DefaultServiceVersion" in the Blob Service Properties using the management API.

    I prefer to avoid implementation-specific headers as much as possible, especially in a case like this where I'm using the Range header in a way that's defined in the HTTP 1.1 protocol spec:

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

    I'm writing a client library to manage progressive download of content--it may be hosted by Azure or somewhere else. I expect every server to properly implement the HTTP protocol and I don't want to shoehorn implementation hacks just to get Azure to behave properly.

    Ryan

  • Dienstag, 29. Mai 2012 07:07
    Moderator
     
     Beantwortet

    I suggest you post your idea on this site:

    http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework