Sha256: ee86ca15c062f8c7782eb94c773288a2bf107591d39588e43b3629b70b9719ea

Contents?: true

Size: 789 Bytes

Versions: 47

Compression:

Stored size: 789 Bytes

Contents

module ApiStub
  module Models
    module Storage
      # Mock class for Storage Account
      class StorageAccount
        def self.create_storage_account(storage_mgmt_client)
          storage_account_hash = {
            'id' => '/subscriptions/67f2116d-4ea2-4c6c-b20a-f92183dbe3cb/resourceGroups/fog_test_rg/providers/Microsoft.Storage/storageAccounts/fogtestsasecond',
            'name' => 'fog-test-storage-account',
            'location' => 'west us',
            'sku' =>
              {
                'name' => 'Standard_LRS'
              }
          }
          storage_account_mapper = Azure::ARM::Storage::Models::StorageAccount.mapper
          storage_mgmt_client.deserialize(storage_account_mapper, storage_account_hash, 'hash')
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 4 rubygems

Version Path
fog-azure-rm-0.6.0 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.5.3 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.5.2 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.6 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.5.1 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.5 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.5.0 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.4 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.3 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.9 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.2 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.8 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.7 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.6 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.5 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-temp-0.0.5 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.4 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.3 test/api_stub/models/storage/storageaccount.rb
far-gem-0.5.1 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.2 test/api_stub/models/storage/storageaccount.rb