Skip to content

SqlConfiguration: Resource refactoring proposal #2168

@johlju

Description

@johlju

Resource proposal

A class-based SqlConfiguration resource would manage sp_configure options and server-wide configurations. It would use Get-SqlDscConfigurationOption and Invoke-SqlDscQuery for setting values.

Proposed properties

Property Type qualifier Data type Description Default value Allowed values
OptionName Key String The name of the configuration option None Any valid option name
OptionValue Write String Option value to set None Valid value for option
ServerName Key String The SQL Server host name None Any valid server name
InstanceName Key String The SQL Server instance name None Any valid instance name

Special considerations or limitations

Should validate allowed values and consider SQL Server version differences. Contributors should ensure changes are idempotent and do not require unnecessary service restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.resource proposalThe issue is proposing a new resource in the resource module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions