Class: Ansible::Ruby::Modules::Mssql_db

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb

Overview

Add or remove MSSQL databases from a remote host.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#autocommit:yes, ...

Returns Automatically commit the change only if the import succeed. Sometimes it is necessary to use autocommit=true, since some content can’t be changed within a transaction.

Returns:

  • (:yes, :no, nil)

    Automatically commit the change only if the import succeed. Sometimes it is necessary to use autocommit=true, since some content can’t be changed within a transaction.



37
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 37

attribute :autocommit

#login_hostObject?

Returns Host running the database.

Returns:

  • (Object, nil)

    Host running the database



22
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 22

attribute :login_host

#login_passwordObject?

Returns The password used to authenticate with.

Returns:

  • (Object, nil)

    The password used to authenticate with



19
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 19

attribute :login_password

#login_portInteger?

Returns Port of the MSSQL server. Requires login_host be defined as other then localhost if login_port is used.

Returns:

  • (Integer, nil)

    Port of the MSSQL server. Requires login_host be defined as other then localhost if login_port is used



25
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 25

attribute :login_port

#login_userObject?

Returns The username used to authenticate with.

Returns:

  • (Object, nil)

    The username used to authenticate with



16
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 16

attribute :login_user

#nameString

Returns name of the database to add or remove.

Returns:

  • (String)

    name of the database to add or remove



12
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 12

attribute :name

#state:present, ...

Returns The database state.

Returns:

  • (:present, :absent, :import, nil)

    The database state



29
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 29

attribute :state

#targetString?

Returns Location, on the remote host, of the dump file to read from or write to. Uncompressed SQL files (C(.sql)) files are supported.

Returns:

  • (String, nil)

    Location, on the remote host, of the dump file to read from or write to. Uncompressed SQL files (C(.sql)) files are supported.



33
# File 'lib/ansible/ruby/modules/generated/database/mssql/mssql_db.rb', line 33

attribute :target