Resource Type: dsc_mountimage

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

Overview

The DSC MountImage resource type. Automatically generated from ‘StorageDsc/DSCResources/MSFT_MountImage/MSFT_MountImage.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_access

    Access - Allows a VHD file to be mounted in read-only or read-write mode. ISO files are mounted in read-only mode regardless of what parameter value you provide. Valid values are ReadOnly, ReadWrite.

  • dsc_driveletter

    DriveLetter - Specifies the drive letter to mount this VHD or ISO to.

  • dsc_ensure

    Ensure - Determines whether the VHD or ISO should be mounted or not. Valid values are Present, Absent.

  • dsc_imagepath

    ImagePath - Specifies the path of the VHD or ISO file.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_storagetype

    StorageType - Specifies the storage type of a file. If the StorageType parameter is not specified, then the storage type is determined by file extension. Valid values are ISO, VHD, VHDx, VHDSet.

  • name (namevar)
  • provider

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