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.4.1 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.4.0 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.9 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.8 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.7 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.6 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.5 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.4 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-temp-0.0.4 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-temp-0.0.3 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.3 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-temp-0.0.2 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-temp-0.0.1 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.2 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-downgraded-0.3.1 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.1 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-downgraded-0.3.0 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.3.0 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.2.7 test/api_stub/models/storage/storageaccount.rb
fog-azure-rm-0.2.6 test/api_stub/models/storage/storageaccount.rb