Resource Type: dsc_xvhdfile

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

Overview

The DSC xVhdFile resource type. Automatically generated from ‘xHyper-V/DSCResources/MSFT_xVhdFileDirectory/MSFT_xVhdFileDirectory.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_checksum

    CheckSum - Valid values are ModifiedDate, SHA-1, SHA-256, SHA-512.

  • dsc_filedirectory

    FileDirectory - The FileDirectory objects to copy to the VHD

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_vhdpath

    VhdPath - Path to the VHD

  • name (namevar)
  • provider

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