Resource Type: dsc_xvmdvddrive

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

Overview

The DSC xVMDvdDrive resource type. Automatically generated from ‘xHyper-V/DSCResources/MSFT_xVMDvdDrive/MSFT_xVMDvdDrive.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_controllerlocation

    ControllerLocation - Specifies the number of the location on the controller at which the DVD drive is to be added.

  • dsc_controllernumber

    ControllerNumber - Specifies the number of the controller to which the DVD drive is to be added.

  • dsc_ensure

    Ensure - Specifies if the DVD Drive should exist or not. Valid values are Present, Absent.

  • dsc_path

    Path - Specifies the full path to the virtual hard disk file or physical hard disk volume for the added DVD drive.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_vmname

    VMName - Specifies the name of the virtual machine to which the DVD drive is to be added.

  • name (namevar)
  • provider

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