Resource Type: dsc_spwebapplication

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

Overview

The DSC SPWebApplication resource type. Automatically generated from ‘SharePointDsc/DSCResources/MSFT_SPWebApplication/MSFT_SPWebApplication.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_allowanonymous

    AllowAnonymous - Should anonymous access be enabled for this web app

    Supported values:
    • true
    • false
  • dsc_applicationpool

    ApplicationPool - The name of the application pool to run this site in

  • dsc_applicationpoolaccount

    ApplicationPoolAccount - The name of the managed account to run the app pool with

  • dsc_databasename

    DatabaseName - The name of the first content database to be created with this web app

  • dsc_databaseserver

    DatabaseServer - The name of the database server to host the default content DB

  • dsc_ensure

    Ensure - Present if the web app should exist, absent if it should not Valid values are Present, Absent.

  • dsc_hostheader

    HostHeader - The host header to use for the web app

  • dsc_installaccount

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

  • dsc_name

    Name - The name of the web application

  • dsc_path

    Path - The path on the local servers to host the IIS web site from

  • dsc_port

    Port - The port to run the site on

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_url

    Url - The URL of the web application

  • dsc_useclassic

    UseClassic - Create the web application with Classic authentication (only used during creation of a new web application)

    Supported values:
    • true
    • false
  • name (namevar)
  • provider

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