lib/azure/armrest/resource_group_based_service.rb
# Used to map service name strings to internal classes
Used to map service name strings to internal classes
Used to map service name strings to internal classes
def convert_id_string_to_url(id_string, info = nil)
        if id_string.include?('api-version')
          File.join(configuration.environment.resource_url, id_string)
        else
          info ||= parse_id_string(id_string)
          api_version = api_version_lookup(info['provider'], info['service_name'], info['subservice_name'])
          File.join(configuration.environment.resource_url, id_string) + "?api-version=#{api_version}"
        end
      end
def convert_id_string_to_url ( id_string , info = nil ) if id_string . include? ( 'api-version' ) File . join ( configuration . environment . resource_url , id_string ) else info ||= parse_id_string ( id_string ) api_version = api_version_lookup ( info [ 'provider' ] , info [ 'service_name' ] , info [ 'subservice_name' ] ) File . join ( configuration . environment . resource_url , id_string ) + "?api-version=#{api_version}" end end
Used to map service name strings to internal classes
Used to map service name strings to internal classes
id_string
<not_specific>
info
<not_specific>