Resource Type: dsc_spdatabaseaag

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

Overview

The DSC SPDatabaseAAG resource type. Automatically generated from ‘SharePointDsc/DSCResources/MSFT_SPDatabaseAAG/MSFT_SPDatabaseAAG.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_agname

    AGName - Name of the AlwaysOn group on the SQL server - this must already exist

  • dsc_databasename

    DatabaseName - The name of the database to put in the AlwaysOn group

  • dsc_ensure

    Ensure - Present if the database should be in this AlwaysOn group, or Absent if it should not be in the group Valid values are Present, Absent.

  • dsc_fileshare

    FileShare - The fileshare to use for the SQL backup when adding to the group

  • dsc_installaccount

    InstallAccount - POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • name (namevar)
  • provider

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