ManageIQ / azure-armrest

Ruby interface for Azure using the new REST API
Apache License 2.0
15 stars 36 forks source link

Added the ResourceProviderService#supported? method #369

Closed djberg96 closed 6 years ago

djberg96 commented 6 years ago

This PR adds a convenience method to check to see if a particular resource type is supported. This is potentially useful for other environments, such as USGov or Azure stack environments, where some of their public features are not supported.

Part of a fix for https://bugzilla.redhat.com/show_bug.cgi?id=1566600

miq-bot commented 6 years ago

Checked commit https://github.com/djberg96/azure-armrest/commit/cd15e2871b08dc114b21d1e818c743cbbc19babf with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 2 files checked, 0 offenses detected Everything looks fine. :cake: