From 1394bf82a4e7a6797063e031e81fbbab0cd1ccf1 Mon Sep 17 00:00:00 2001 From: Julian Cheal Date: Thu, 11 Jan 2018 12:48:48 +0000 Subject: [PATCH] Added azure_tenant_id to api_allowed_attributes method This is a follow on PR from https://github.com/ManageIQ/manageiq/pull/16802/ and https://github.com/ManageIQ/manageiq-api/pull/279 --- app/models/manageiq/providers/azure/cloud_manager.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/manageiq/providers/azure/cloud_manager.rb b/app/models/manageiq/providers/azure/cloud_manager.rb index 7b9e8203..40dcd250 100644 --- a/app/models/manageiq/providers/azure/cloud_manager.rb +++ b/app/models/manageiq/providers/azure/cloud_manager.rb @@ -65,6 +65,10 @@ def self.default_blacklisted_event_names ) end + def self.api_allowed_attributes + %w[azure_tenant_id].freeze + end + def blacklisted_provider_types %r{Microsoft.Classic} end