Resource Type: dsc_xdatabase

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

Overview

The DSC xDatabase resource type. Automatically generated from ‘xDatabase/DSCResources/MSFT_xDatabase/MSFT_xDatabase.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
    • absent

Parameters

  • dsc_bacpacpath

    BacPacPath - Path to BacPac, if this is specified resore is performed

  • dsc_credentials

    Credentials - Credentials to Connect to the sql server

  • dsc_dacpacapplicationname

    DacPacApplicationName - DacPac Application Name for Registration

  • dsc_dacpacapplicationversion

    DacPacApplicationVersion - DacPac Application Version for Registration

  • dsc_dacpacpath

    DacPacPath - Path to DacPac, if this is specified dacpac deployment is performed

  • dsc_databasename

    DatabaseName - Name of the Database

  • dsc_ensure

    Ensure - Valid values are Present, Absent.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_sqlserver

    SqlServer - Sql Server Name

  • dsc_sqlserverversion

    SqlServerVersion - Sql Server Version For DacFx Valid values are 2008-R2, 2012, 2014, 2016.

  • name (namevar)
  • provider

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