Resource Type: dsc_xwebsite

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

Overview

The DSC xWebsite resource type. Automatically generated from ‘xWebAdministration/DSCResources/MSFT_xWebsite/MSFT_xWebsite.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_applicationpool

    ApplicationPool

  • dsc_applicationtype

    ApplicationType - Adds a AutostartProvider ApplicationType

  • dsc_authenticationinfo

    AuthenticationInfo - Hashtable containing authentication information (Anonymous, Basic, Digest, Windows)

  • dsc_bindinginfo

    BindingInfo - Website’s binding information in the form of an array of embedded instances of the MSFT_xWebBindingInformation CIM class.

  • dsc_defaultpage

    DefaultPage

  • dsc_enabledprotocols

    EnabledProtocols

  • dsc_ensure

    Ensure - Valid values are Present, Absent.

  • dsc_logflags

    LogFlags - The W3C logging fields Valid values are Date, Time, ClientIP, UserName, SiteName, ComputerName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, BytesSent, BytesRecv, TimeTaken, ServerPort, UserAgent, Cookie, Referer, ProtocolVersion, Host, HttpSubStatus.

  • dsc_logformat

    LogFormat - Format of the Logfiles. Only W3C supports LogFlags Valid values are IIS, W3C, NCSA.

  • dsc_loglocaltimerollover

    LoglocalTimeRollover - Use the localtime for file naming and rollover

    Supported values:
    • true
    • false
  • dsc_logpath

    LogPath - The directory to be used for logfiles

  • dsc_logperiod

    LogPeriod - How often the log file should rollover Valid values are Hourly, Daily, Weekly, Monthly, MaxSize.

  • dsc_logtruncatesize

    LogTruncateSize - How large the file should be before it is truncated

  • dsc_name

    Name

  • dsc_physicalpath

    PhysicalPath

  • dsc_preloadenabled

    PreloadEnabled - Allows the Website to automatically start without a request

    Supported values:
    • true
    • false
  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_serviceautostartenabled

    ServiceAutoStartEnabled - Enables Autostart on a Website.

    Supported values:
    • true
    • false
  • dsc_serviceautostartprovider

    ServiceAutoStartProvider - Adds a AutostartProvider

  • dsc_state

    State - Valid values are Started, Stopped.

  • name (namevar)
  • provider

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