lowlydba.sqlserver.resource_governor module – Configures the resource governor on a SQL Server instance
Note
This module is part of the lowlydba.sqlserver collection (version 1.1.2).
To install it, use: ansible-galaxy collection install lowlydba.sqlserver
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: lowlydba.sqlserver.resource_governor
.
New in lowlydba.sqlserver 0.1.0
Synopsis
Enables or disables and optionally sets the classifier function for the resource governor feature.
Requirements
The below requirements are needed on the host that executes this module.
dbatools PowerShell module
Parameters
Parameter |
Comments |
---|---|
The name of the classifier function that resource governor will use. To clear the function, use the string |
|
Whether to enable or disable resource governor. Choices:
|
|
The SQL Server instance to modify. |
|
Password for SQL Authentication. |
|
Username for SQL Authentication. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in check_mode and return changed status prediction without modifying target. |
|
Platforms: all |
Target OS/families that can be operated against. |
Examples
- name: Enable resource governor
lowlydba.sqlserver.resource_governor:
sql_instance: sql-01.myco.io
enabled: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Output from the Returned: success, but not in check_mode. |