Sha256: e44f8e1df1e95cddb4d2289dfc5ee6202b4a1db727299cffc2c20d171649b20e

Contents?: true

Size: 750 Bytes

Versions: 3

Compression:

Stored size: 750 Bytes

Contents

module ApiStub
  module Models
    module Sql
      # Mock class for Sql Server
      class SqlServer
        # This class contain two mocks, for collection and for model
        def self.create_sql_server
          {
            'id' => '/subscriptions/67f2116d-4ea2-4c6c-b20a-f92183dbe3cb/resourceGroups/vm_custom_image/providers/Microsoft.Sql/servers/test-sql-server-confiz123',
            'name' => 'server-name',
            'location' => '{server-location}',
            'properties' => {
              'version' => '{server-version}',
              'administratorLogin' => '{admin-name}',
              'administratorLoginPassword' => '{admin-password}'
            }
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.1 test/api_stub/models/sql/sql_server.rb
fog-azure-rm-0.1.0 test/api_stub/models/sql/sql_server.rb
fog-azure-rm-0.0.9 test/api_stub/models/sql/sql_server.rb