Sha256: 63637b4be66a0cc0b70619d6827fe3e40a5c5c7acccac4898c71c1896d9df7ad

Contents?: true

Size: 756 Bytes

Versions: 62

Compression:

Stored size: 756 Bytes

Contents

module Fog
  module Resources
    class AzureRM
      # ProviderResourceType model class
      class ProviderResourceType < Fog::Model
        attribute :resource_type
        attribute :locations
        attribute :api_versions
        attribute :properties

        def self.parse(provider_resource_type)
          hash = {}
          hash['resource_type'] = provider_resource_type.resource_type
          hash['locations'] = provider_resource_type.locations
          hash['api_versions'] = provider_resource_type.api_versions if provider_resource_type.respond_to?('api_versions')
          hash['properties'] = provider_resource_type.properties if provider_resource_type.respond_to?('properties')
          hash
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 5 rubygems

Version Path
gitlab-fog-azure-rm-1.8.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.7.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.6.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.5.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.4.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.3.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
fog-azure-rm-0.6.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.2.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.1.1 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.0.1 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-1.0.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-0.9.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-0.8.1 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-0.8.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-0.7.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
gitlab-fog-azure-rm-0.6.0 lib/fog/azurerm/models/resources/provider_resource_type.rb
fog-azure-rm-0.5.3 lib/fog/azurerm/models/resources/provider_resource_type.rb
fog-azure-rm-0.5.2 lib/fog/azurerm/models/resources/provider_resource_type.rb
far-gem-0.5.6 lib/fog/azurerm/models/resources/provider_resource_type.rb
fog-azure-rm-0.5.1 lib/fog/azurerm/models/resources/provider_resource_type.rb