Resource Type: dsc_diskaccesspath

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

Overview

The DSC DiskAccessPath resource type. Automatically generated from ‘StorageDsc/DSCResources/MSFT_DiskAccessPath/MSFT_DiskAccessPath.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_accesspath

    AccessPath - Specifies the access path folder to the assign the disk volume to.

  • dsc_allocationunitsize

    AllocationUnitSize - Specifies the allocation unit size to use when formatting the volume.

  • dsc_diskid

    DiskId - Specifies the disk identifier for the disk to modify.

  • dsc_diskidtype

    DiskIdType - Specifies the identifier type the DiskId contains. Defaults to Number. Valid values are Number, UniqueId, Guid.

  • dsc_fsformat

    FSFormat - Specifies the file system format of the new volume. Valid values are NTFS, ReFS.

  • dsc_fslabel

    FSLabel - Define volume label if required.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_size

    Size - Specifies the size of new volume.

  • name (namevar)
  • provider

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