Method: Azure::Core::Configuration#management_endpoint
- Defined in:
- lib/azure/core/configuration.rb
#management_endpoint ⇒ Object
173 174 175 176 177 178 179 180 181 182 183 |
# File 'lib/azure/core/configuration.rb', line 173 def management_endpoint if @management_endpoint.nil? or @management_endpoint.empty? "https://management.core.windows.net/" elsif !@management_endpoint.end_with?('/') @management_endpoint += '/' elsif URI(@management_endpoint).scheme.nil? "https://#{@management_endpoint}" else @management_endpoint end end |