Resource Type: dsc_sqlserviceaccount

Defined in:
lib/puppet/type/dsc_sqlserviceaccount.rb
Providers:
powershell

Overview

The DSC SqlServiceAccount resource type. Automatically generated from ‘SqlServerDsc/DSCResources/MSFT_SqlServiceAccount/MSFT_SqlServiceAccount.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present

Parameters

  • dsc_force

    Force - Forces the service account to be updated. Useful for password changes.

    Supported values:
    • true
    • false
  • dsc_instancename

    InstanceName - Name of the SQL instance.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_restartservice

    RestartService - Determines whether the service is automatically restarted when a change to the configuration was needed.

    Supported values:
    • true
    • false
  • dsc_servername

    ServerName - Hostname of the SQL Server.

  • dsc_serviceaccount

    ServiceAccount - The service account that should be used when running the service.

  • dsc_serviceaccountname

    ServiceAccountName - Returns the service account username for the service.

  • dsc_servicetype

    ServiceType - Type of service being managed. Valid values are DatabaseEngine, SQLServerAgent, Search, IntegrationServices, AnalysisServices, ReportingServices, SQLServerBrowser, NotificationServices.

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_sqlserviceaccount` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.