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 api_version_lookup(provider_name, service_name, subservice_name)
        provider_name ||= 'Microsoft.Resources'
        service_name  ||= 'resourceGroups'
        if subservice_name
          full_service_name = "#{service_name}/#{subservice_name}"
          api_version = configuration.provider_default_api_version(provider_name, full_service_name)
        end
        api_version ||= configuration.provider_default_api_version(provider_name, service_name)
        api_version || configuration.api_version
      end
def api_version_lookup ( provider_name , service_name , subservice_name ) provider_name ||= 'Microsoft.Resources' service_name ||= 'resourceGroups' if subservice_name full_service_name = "#{service_name}/#{subservice_name}" api_version = configuration . provider_default_api_version ( provider_name , full_service_name ) end api_version ||= configuration . provider_default_api_version ( provider_name , service_name ) api_version || configuration . api_version end
Used to map service name strings to internal classes
Used to map service name strings to internal classes
provider_name
<not_specific>
service_name
<not_specific>
subservice_name
<not_specific>