app/models/manageiq/providers/azure/cloud_manager/template.rb
class ManageIQ::Providers::Azure::CloudManager::Template < ::ManageIQ::Providers::CloudManager::Template
include ManageIQ::Providers::Azure::CloudManager::VmOrTemplateShared
supports :provisioning do
if ext_management_system
ext_management_system.unsupported_reason(:provisioning)
else
_('not connected to ems')
end
end
def provider_object(connection = nil)
connection ||= ext_management_system.connect
connection.images[ems_ref]
end
def self.display_name(number = 1)
n_('Image (Microsoft Azure)', 'Images (Microsoft Azure)', number)
end
end