vmware_vspheredsc
Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
- Puppet >= 6.0.0 < 8.0.0
Start using this module
Add this module to your Puppetfile:
mod 'dsc-vmware_vspheredsc', '2.2.0-84-0'
Learn more about managing modules with a PuppetfileDocumentation
vmware_vspheredsc
Table of Contents
Description
This is an auto-generated module, using the Puppet DSC Builder to vendor and expose the VMware.vSphereDSC PowerShell module's DSC resources as Puppet resources. The functionality of this module comes entirely from the vendored PowerShell resources, which are pinned at v2.2.0.84. The PowerShell module describes itself like this:
This PowerShell module contains DSC Resources for vSphere.
For information on troubleshooting to determine whether any encountered problems are with the Puppet wrapper or the DSC resource, see the troubleshooting section below.
Requirements
This module, like all auto-generated Puppetized DSC modules, relies on two important technologies in the Puppet stack: the Puppet Resource API and the puppetlabs/pwshlib Puppet module.
The Resource API provides a simplified option for writing types and providers and is responsible for how this module is structured. The Resource API ships inside of Puppet starting with version 6. While it is technically possible to add the Resource API functionality to Puppet 5.5.x, the DSC functionality has not been tested in this setup. For more information on the Resource API, review the documentation.
The module also depends on the pwshlib module. This Puppet module includes two important things: the ruby-pwsh library for running PowerShell code from ruby and the base provider for DSC resources, which this module leverages.
All of the actual work being done to call the DSC resources vendored with this module is in this file from the pwshlib module. This is important for troubleshooting and bug reporting, but doesn't impact your use of the module except that the end result will be that nothing works, as the dependency is not installed alongside this module!
Long File Path Support
Several PowerShell modules with DSC Resources end up with very long file paths once vendored, many of which exceed the 260 character limit for file paths. Luckily in Windows 10 (build 1607+), Windows Server 2016 (build 1607+), and Windows Server 2019 there is now an option for supporting long file paths transparently!
We strongly recommend enabling long file path support on any machines using this module to avoid path length issues.
You can set this value using the Puppet registry_value
resource:
registry_value { 'HKLM\System\CurrentControlSet\Control\FileSystem\LongPathsEnabled':
ensure => 'present',
data => [1],
provider => 'registry',
type => 'dword',
}
You can also set this value outside of Puppet by following the Microsoft documentation.
Usage
You can specify any of the DSC resources from this module like a normal Puppet resource in your manifests. The examples below use DSC resources from from the PowerShellGet repository, regardless of what module you're looking at here; the syntax, not the specifics, is what's important.
For reference documentation about the DSC resources exposed in this module, see the Reference Forge tab, or the REFERENCE.md file.
# Include a meaningful title for your resource declaration
dsc_psrepository { 'Add team module repo':
dsc_name => 'foo',
dsc_ensure => present,
# This location is nonsense, can be any valid folder on your
# machine or in a share, any location the SourceLocation param
# for the DSC resource will accept.
dsc_sourcelocation => 'C:\Program Files',
# You must always pass an enum fully lower-cased;
# Puppet is case sensitive even when PowerShell isn't
dsc_installationpolicy => untrusted,
}
dsc_psrepository { 'Trust public gallery':
dsc_name => 'PSGallery',
dsc_ensure => present,
dsc_installationpolicy => trusted,
}
dsc_psmodule { 'Make Ruby manageable via uru':
dsc_name => 'RubyInstaller',
dsc_ensure => present,
}
Credentials
Credentials are always specified as a hash of the username and password for the account. The password must use the Puppet Sensitive type; this ensures that logs and reports redact the password, displaying it instead as <Sensitive [value redacted]>.
dsc_psrepository { 'PowerShell Gallery':
dsc_name => 'psgAllery',
dsc_installationpolicy => 'Trusted',
dsc_psdscrunascredential => {
user => 'apple',
password => Sensitive('foobar'),
},
}
Class-Based Resources
Class-based DSC Resources can be used like any other DSC Resource in this module, with one important note:
Due to a bug in calling class-based DSC Resources by path instead of module name, each call to Invoke-DscResource
needs to temporarily munge the system-level environment variable for PSModulePath
;
the variable is reset prior to the end of each invocation.
CIM Instances
Because the CIM instances for DSC resources are fully mapped, the types actually explain fairly precisely what the shape of each CIM instance has to be - and, moreover, the type definition means that you get checking at catalog compile time. Puppet parses CIM instances are structured hashes (or arrays of structured hashes) that explicitly declare their keys and the valid types of values for each key.
So, for the dsc_accesscontrolentry
property of the dsc_ntfsaccessentry
type, which has a MOF type of NTFSAccessControlList[]
, Puppet defines the CIM instance as:
Array[Struct[{
accesscontrolentry => Array[Struct[{
accesscontroltype => Enum['Allow', 'Deny'],
inheritance => Enum['This folder only', 'This folder subfolders and files', 'This folder and subfolders', 'This folder and files', 'Subfolders and files only', 'Subfolders only', 'Files only'],
ensure => Enum['Present', 'Absent'],
cim_instance_type => 'NTFSAccessControlEntry',
filesystemrights => Array[Enum['AppendData', 'ChangePermissions', 'CreateDirectories', 'CreateFiles', 'Delete', 'DeleteSubdirectoriesAndFiles', 'ExecuteFile', 'FullControl', 'ListDirectory', 'Modify', 'Read', 'ReadAndExecute', 'ReadAttributes', 'ReadData', 'ReadExtendedAttributes', 'ReadPermissions', 'Synchronize', 'TakeOwnership', 'Traverse', 'Write', 'WriteAttributes', 'WriteData', 'WriteExtendedAttributes']]
}]],
forceprincipal => Optional[Boolean],
principal => Optional[String],
}]]
A valid example of that in a puppet manifest looks like this:
dsc_accesscontrollist => [
{
accesscontrolentry => [
{
accesscontroltype => 'Allow',
inheritance => 'This folder only',
ensure => 'Present',
filesystemrights => 'ChangePermissions',
cim_instance_type => 'NTFSAccessControlEntry',
},
],
principal => 'veryRealUserName',
},
]
For more information about using a built module, check out our narrative documentation.
Properties
Note that the only properties specified in a resource declaration which are passed to Invoke-Dsc are all prepended with dsc.
If a property does _not start with dsc_ it is used to control how Puppet interacts with DSC/other Puppet resources - for example,
specifying a unique name for the resource for Puppet to distinguish between declarations or Puppet metaparameters (notifies,
before, etc).
Validation Mode
By default, these resources use the property validation mode, which checks whether or not the resource is in the desired state the same way most Puppet resources are validated;
by comparing the properties returned from the system with those specified in the manifest.
Sometimes, however, this is insufficient;
many DSC Resources return data that does not compare properly to the desired state (some are missing properties, others are malformed, some simply cannot be strictly compared).
In these cases, you can set the validation mode to resource
, which falls back on calling Invoke-DscResource
with the Test
method and trusts that result.
When using the resource
validation mode, the resource is tested once and will then treat all properties of that resource as in sync (if the result returned true
) or not in sync.
This loses the granularity of change reporting for the resource but prevents flapping and unexpected behavior.
# This will flap because the DSC resource never returns name in SecurityPolicyDsc v2.10.0.0
dsc_securityoption { 'Enforce Anonoymous SID Translation':
dsc_name => 'Enforce Anonymous SID Translation',
dsc_network_access_allow_anonymous_sid_name_translation => 'Disabled',
}
# This will idempotently apply
dsc_psrepository { 'PowerShell Gallery':
validation_mode => 'resource',
dsc_name => 'Enforce Anonymous SID Translation',
dsc_network_access_allow_anonymous_sid_name_translation => 'Disabled',
}
It is important to note that this feature is only supported with a version of puppetlabs-pwshlib
equal to or higher than 0.9.0
, in which the supporting code for the DSC Base Provider to implement custom insync was shipped.
Finally, while this module's metadata says that the supported Puppet versions are 6.0.0 and up, the implementation of the validation_mode
parameter relies on the custom_insync
feature of the Puppet Resource API.
The custom_insync
feature first shipped in the puppet-resource_api
version 1.8.14
, which itself is only included in Puppet versions equal to or newer than 6.23.0
and 7.8.0
for the 6x and 7x platforms respectively.
Using this module against older Puppet versions will result in a warning (example below) and only use the default property-by-property change reporting, regardless of the setting of validation_mode
.
Warning: Unknown feature detected: ["custom_insync"]
Troubleshooting
In general, there are three broad categories of problems:
- Problems with the way the underlying DSC resource works.
- Problems with the type definition, where you can't specify a valid set of properties for the DSC resource
- Problems with calling the underlying DSC resource - the parameters aren't being passed correctly or the resource can't be found
Unfortunately, problems with the way the underlying DSC resource works are something we can't help directly with. You'll need to file an issue with the upstream maintainers for the PowerShell module.
Problems with the type definition are when a value that should be valid according to the DSC resource's documentation and code is not accepted by the Puppet wrapper. If and when you run across one of these, please file an issue with the Puppet DSC Builder; this is where the conversion happens and once we know of a problem we can fix it and regenerate the Puppet modules. To help us identify the issue, please specify the DSC module, version, resource, property and values that are giving you issues. Once a fix is available we will regenerate and release updated versions of this Puppet wrapper.
Problems with calling the underlying DSC resource become apparent by comparing <value passed in in puppet>
with <value received by DSC>
.
In this case, please file an issue with the puppetlabs/pwshlib module, which is where the DSC base provider actually lives.
We'll investigate and prioritize a fix and update the puppetlabs/pwshlib module.
Updating to the pwshlib version with the fix will immediately take advantage of the improved functionality without waiting for this module to be reconverted and published.
For specific information on troubleshooting a generated module, check the troubleshooting guide for the puppet.dsc module.
Known Limitations
Currently, because of the way Puppet caches files on agents, use of the legacy puppetlabs-dsc
module is not compatible with this or any auto-generated DSC module.
Inclusion of both will lead to pluginsync conflicts.
Right now, if you have the same version of a PowerShell module with class-based DSC Resources in your PSModulePath as vendored in a Puppetized DSC Module, you cannot use those class-based DSC Resources from inside of Puppet due to a bug in DSC which prevents using a module by path reference instead of name. Instead, DSC will see that there are two DSC Resources for the same module and version and then error out.
Configuring the LCM
In order for a Puppetized DSC module to function, the DSC Local Configuration Manager (LCM) RefreshMode
must be set to either Push
or Disabled
.
The default value for RefreshMode
in WMF 5.0 and WMF 5.1 is Push
- so if it has not been set to anything else then there is no action needed on your part.
However if the value of the LCM has been set to anything other than Push
then the module will not function and so the value must either be changed back or disabled.
The Puppetized DSC modules use the Invoke-DscResource
cmdlet to invoke DSC Resources of the target machine.
If the RefreshMode
is set to Pull
, DSC Resources will only run from a DSC Pull Server - in this setting DSC does not allow any DSC Resources to be run interactively on the host.
Module Installation
If you're using this module with Puppet Enterprise and Code Manager, everything should "just work" - no errors or issues acquiring and deploying this or any Puppetized DSC module to nodes.
Unfortunately, due a bug in minitar which prevents it from unpacking archives with long file paths, both r10k
and serverless Puppet (via puppet module install
) methods of installing modules with long path names will fail.
In short, minitar is unable to unpack modules that contain long file paths (though it can create them).
As a workaround, you can retrieve DSC modules from the forge via PowerShell and 7zip:
$ModuleAuthor = 'dsc'
$ModuleName = 'xremotedesktopsessionhost'
$ModuleVersion = '2.0.0-0-1'
$ArchiveFileName = "$ModuleAuthor-$ModuleName-$ModuleVersion.tar.gz"
$DownloadUri = "https://forge.puppet.com/v3/files/$ArchiveFileName"
# Download the module tar.gz to the current directory
Invoke-WebRequest -Uri $DownloadUri -OutFile ./$ArchiveFileName
# Use 7zip to extract the module to the current directory
& 7z x $ArchiveFileName -so | & 7z x -aoa -si -ttar
Reference
Table of Contents
Resource types
dsc_cluster
: The DSC resource type. Automatically generated from version 2.2.0.84dsc_datacenter
: The DSC Datacenter resource type. Automatically generated from version 2.2.0.84dsc_datacenterfolder
: The DSC DatacenterFolder resource type. Automatically generated from version 2.2.0.84dsc_datastorecluster
: The DSC DatastoreCluster resource type. Automatically generated from version 2.2.0.84dsc_datastoreclusteradddatastore
: The DSC DatastoreClusterAddDatastore resource type. Automatically generated from version 2.2.0.84dsc_drscluster
: The DSC DrsCluster resource type. Automatically generated from version 2.2.0.84dsc_drsrule
: The DSC DRSRule resource type. Automatically generated from version 2.2.0.84dsc_folder
: The DSC Folder resource type. Automatically generated from version 2.2.0.84dsc_hacluster
: The DSC HACluster resource type. Automatically generated from version 2.2.0.84dsc_nfsdatastore
: The DSC NfsDatastore resource type. Automatically generated from version 2.2.0.84dsc_nfsuser
: The DSC NfsUser resource type. Automatically generated from version 2.2.0.84dsc_powerclisettings
: The DSC PowerCLISettings resource type. Automatically generated from version 2.2.0.84dsc_standardportgroup
: The DSC resource type. Automatically generated from version 2.2.0.84dsc_standardswitch
: The DSC resource type. Automatically generated from version 2.2.0.84dsc_vcentersettings
: The DSC vCenterSettings resource type. Automatically generated from version 2.2.0.84dsc_vcenterstatistics
: The DSC vCenterStatistics resource type. Automatically generated from version 2.2.0.84dsc_vcentervmhost
: The DSC vCenterVMHost resource type. Automatically generated from version 2.2.0.84dsc_vdportgroup
: The DSC VDPortGroup resource type. Automatically generated from version 2.2.0.84dsc_vdswitch
: The DSC VDSwitch resource type. Automatically generated from version 2.2.0.84dsc_vdswitchvmhost
: The DSC VDSwitchVMHost resource type. Automatically generated from version 2.2.0.84dsc_vmfsdatastore
: The DSC VmfsDatastore resource type. Automatically generated from version 2.2.0.84dsc_vmhostacceptancelevel
: The DSC VMHostAcceptanceLevel resource type. Automatically generated from version 2.2.0.84dsc_vmhostaccount
: The DSC VMHostAccount resource type. Automatically generated from version 2.2.0.84dsc_vmhostadvancedsettings
: The DSC VMHostAdvancedSettings resource type. Automatically generated from version 2.2.0.84dsc_vmhostagentvm
: The DSC VMHostAgentVM resource type. Automatically generated from version 2.2.0.84dsc_vmhostauthentication
: The DSC VMHostAuthentication resource type. Automatically generated from version 2.2.0.84dsc_vmhostcache
: The DSC VMHostCache resource type. Automatically generated from version 2.2.0.84dsc_vmhostconfiguration
: The DSC VMHostConfiguration resource type. Automatically generated from version 2.2.0.84dsc_vmhostdcuikeyboard
: The DSC VMHostDCUIKeyboard resource type. Automatically generated from version 2.2.0.84dsc_vmhostdnssettings
: The DSC VMHostDnsSettings resource type. Automatically generated from version 2.2.0.84dsc_vmhostfirewallruleset
: The DSC VMHostFirewallRuleset resource type. Automatically generated from version 2.2.0.84dsc_vmhostgraphics
: The DSC VMHostGraphics resource type. Automatically generated from version 2.2.0.84dsc_vmhostgraphicsdevice
: The DSC VMHostGraphicsDevice resource type. Automatically generated from version 2.2.0.84dsc_vmhostiproute
: The DSC VMHostIPRoute resource type. Automatically generated from version 2.2.0.84dsc_vmhostiscsihba
: The DSC VMHostIScsiHba resource type. Automatically generated from version 2.2.0.84dsc_vmhostiscsihbatarget
: The DSC VMHostIScsiHbaTarget resource type. Automatically generated from version 2.2.0.84dsc_vmhostiscsihbavmkernelnic
: The DSC VMHostIScsiHbaVMKernelNic resource type. Automatically generated from version 2.2.0.84dsc_vmhostnetworkcoredump
: The DSC VMHostNetworkCoreDump resource type. Automatically generated from version 2.2.0.84dsc_vmhostntpsettings
: The DSC VMHostNtpSettings resource type. Automatically generated from version 2.2.0.84dsc_vmhostpcipassthrough
: The DSC VMHostPciPassthrough resource type. Automatically generated from version 2.2.0.84dsc_vmhostpermission
: The DSC VMHostPermission resource type. Automatically generated from version 2.2.0.84dsc_vmhostphysicalnic
: The DSC VMHostPhysicalNic resource type. Automatically generated from version 2.2.0.84dsc_vmhostpowerpolicy
: The DSC VMHostPowerPolicy resource type. Automatically generated from version 2.2.0.84dsc_vmhostrole
: The DSC VMHostRole resource type. Automatically generated from version 2.2.0.84dsc_vmhostsatpclaimrule
: The DSC VMHostSatpClaimRule resource type. Automatically generated from version 2.2.0.84dsc_vmhostscsilun
: The DSC VMHostScsiLun resource type. Automatically generated from version 2.2.0.84dsc_vmhostscsilunpath
: The DSC VMHostScsiLunPath resource type. Automatically generated from version 2.2.0.84dsc_vmhostservice
: The DSC VMHostService resource type. Automatically generated from version 2.2.0.84dsc_vmhostsettings
: The DSC VMHostSettings resource type. Automatically generated from version 2.2.0.84dsc_vmhostsharedswapspace
: The DSC VMHostSharedSwapSpace resource type. Automatically generated from version 2.2.0.84dsc_vmhostsnmpagent
: The DSC VMHostSNMPAgent resource type. Automatically generated from version 2.2.0.84dsc_vmhostsoftwaredevice
: The DSC VMHostSoftwareDevice resource type. Automatically generated from version 2.2.0.84dsc_vmhoststorage
: The DSC VMHostStorage resource type. Automatically generated from version 2.2.0.84dsc_vmhostsyslog
: The DSC VMHostSyslog resource type. Automatically generated from version 2.2.0.84dsc_vmhosttpssettings
: The DSC VMHostTpsSettings resource type. Automatically generated from version 2.2.0.84dsc_vmhostvdsnic
: The DSC VMHostVdsNic resource type. Automatically generated from version 2.2.0.84dsc_vmhostvdswitchmigration
: The DSC VMHostVDSwitchMigration resource type. Automatically generated from version 2.2.0.84dsc_vmhostvmkernelactivedumpfile
: The DSC VMHostVMKernelActiveDumpFile resource type. Automatically generated from version 2.2.0.84dsc_vmhostvmkernelactivedumppartition
: The DSC VMHostVMKernelActiveDumpPartition resource type. Automatically generated from version 2.2.0.84dsc_vmhostvmkerneldumpfile
: The DSC VMHostVMKernelDumpFile resource type. Automatically generated from version 2.2.0.84dsc_vmhostvmkernelmodule
: The DSC VMHostVMKernelModule resource type. Automatically generated from version 2.2.0.84dsc_vmhostvsannetworkconfiguration
: The DSC VMHostvSANNetworkConfiguration resource type. Automatically generated from version 2.2.0.84dsc_vmhostvss
: The DSC VMHostVss resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssbridge
: The DSC VMHostVssBridge resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssmigration
: The DSC VMHostVssMigration resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssnic
: The DSC VMHostVssNic resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssportgroup
: The DSC VMHostVssPortGroup resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssportgroupsecurity
: The DSC VMHostVssPortGroupSecurity resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssportgroupshaping
: The DSC VMHostVssPortGroupShaping resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssportgroupteaming
: The DSC VMHostVssPortGroupTeaming resource type. Automatically generated from version 2.2.0.84dsc_vmhostvsssecurity
: The DSC VMHostVssSecurity resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssshaping
: The DSC VMHostVssShaping resource type. Automatically generated from version 2.2.0.84dsc_vmhostvssteaming
: The DSC VMHostVssTeaming resource type. Automatically generated from version 2.2.0.84
Resource types
dsc_cluster
The DSC resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_cluster
type.
dsc_cpuovercommitment
Data type: Optional[Hash]
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_drsautomationlevel
Data type: Optional[String]
dsc_drsdistribution
Data type: Optional[Hash]
dsc_drsenabled
Data type: Optional[Hash]
dsc_drsmigrationthreshold
Data type: Optional[Hash]
dsc_haadmissioncontrolenabled
Data type: Optional[Hash]
dsc_haenabled
Data type: Optional[Hash]
dsc_hafailoverlevel
Data type: Optional[Hash]
dsc_haisolationresponse
Data type: Optional[String]
dsc_harestartpriority
Data type: Optional[String]
dsc_memoryloadbalancing
Data type: Optional[Hash]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_cluster
type.
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_ensure
namevar
Data type: String
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_datacenter
The DSC Datacenter resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_datacenter
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_datacenter
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_datacenterfolder
The DSC DatacenterFolder resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_datacenterfolder
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_datacenterfolder
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_datastorecluster
The DSC DatastoreCluster resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_datastorecluster
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_iolatencythresholdmillisecond
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_ioloadbalanceenabled
Data type: Optional[Boolean]
dsc_sdrsautomationlevel
Data type: Optional[Enum['FullyAutomated', 'Manual', 'PartiallyAutomated', 'Disabled', 'Unset']]
dsc_server
Data type: Optional[String]
dsc_spaceutilizationthresholdpercent
Data type: Optional[Integer[-2147483648, 2147483647]]
Parameters
The following parameters are available in the dsc_datastorecluster
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_location
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_datastoreclusteradddatastore
The DSC DatastoreClusterAddDatastore resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_datastoreclusteradddatastore
type.
dsc_datastorenames
Data type: Array[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_datastoreclusteradddatastore
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_datastoreclusterlocation
dsc_datastoreclustername
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_datastoreclusterlocation
namevar
Data type: String
dsc_datastoreclustername
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_drscluster
The DSC DrsCluster resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_drscluster
type.
dsc_cpuovercommitment
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_drsautomationlevel
Data type: Optional[Enum['FullyAutomated', 'Manual', 'PartiallyAutomated', 'Disabled', 'Unset']]
dsc_drsdistribution
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_drsenabled
Data type: Optional[Boolean]
dsc_drsmigrationthreshold
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_memoryloadbalancing
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_drscluster
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_location
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_drsrule
The DSC DRSRule resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_drsrule
type.
dsc_enabled
Data type: Optional[Boolean]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
dsc_vmnames
Data type: Array[String]
Parameters
The following parameters are available in the dsc_drsrule
type.
dsc_clusterlocation
dsc_clustername
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_drsruletype
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_clusterlocation
namevar
Data type: String
dsc_clustername
namevar
Data type: String
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_drsruletype
namevar
Data type: Enum['VMAffinity', 'VMAntiAffinity']
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_folder
The DSC Folder resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_folder
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_folder
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_foldertype
dsc_location
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_foldertype
namevar
Data type: Enum['Network', 'Datastore', 'Vm', 'Host']
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_hacluster
The DSC HACluster resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_hacluster
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_haadmissioncontrolenabled
Data type: Optional[Boolean]
dsc_haenabled
Data type: Optional[Boolean]
dsc_hafailoverlevel
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_haisolationresponse
Data type: Optional[Enum['PowerOff', 'DoNothing', 'Shutdown', 'Unset']]
dsc_harestartpriority
Data type: Optional[Enum['Disabled', 'Low', 'Medium', 'High', 'Unset']]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_hacluster
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_location
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_nfsdatastore
The DSC NfsDatastore resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_nfsdatastore
type.
dsc_accessmode
Data type: Optional[Enum['ReadWrite', 'ReadOnly']]
dsc_authenticationmethod
Data type: Optional[Enum['AUTH_SYS', 'Kerberos']]
dsc_congestionthresholdmillisecond
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_filesystemversion
Data type: Optional[String]
dsc_nfshost
Data type: Array[String]
dsc_path
Data type: String
dsc_server
Data type: Optional[String]
dsc_storageiocontrolenabled
Data type: Optional[Boolean]
Parameters
The following parameters are available in the dsc_nfsdatastore
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_nfsuser
The DSC NfsUser resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_nfsuser
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_password
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_nfsuser
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_force
Data type: Optional[Boolean]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_powerclisettings
The DSC PowerCLISettings resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_powerclisettings
type.
dsc_ceipdatatransferproxypolicy
Data type: Optional[Enum['NoProxy', 'UseSystemProxy', 'Unset']]
dsc_defaultviservermode
Data type: Optional[Enum['Single', 'Multiple', 'Unset']]
dsc_displaydeprecationwarnings
Data type: Optional[Boolean]
dsc_invalidcertificateaction
Data type: Optional[Enum['Ignore', 'Warn', 'Prompt', 'Fail', 'Unset']]
dsc_participateinceip
Data type: Optional[Boolean]
dsc_proxypolicy
Data type: Optional[Enum['NoProxy', 'UseSystemProxy', 'Unset']]
dsc_weboperationtimeoutseconds
Data type: Optional[Integer[-2147483648, 2147483647]]
Parameters
The following parameters are available in the dsc_powerclisettings
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_settingsscope
namevar
Data type: Enum['LCM']
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_standardportgroup
The DSC resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_standardportgroup
type.
dsc_activenic
Data type: Optional[Array[String]]
dsc_allowpromiscuous
Data type: Optional[Hash]
dsc_allowpromiscuousinherited
Data type: Optional[Hash]
dsc_averagebandwidth
Data type: Optional[Hash]
dsc_burstsize
Data type: Optional[Hash]
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_enabled
Data type: Optional[Hash]
dsc_failbackenabled
Data type: Optional[Hash]
dsc_forgedtransmits
Data type: Optional[Hash]
dsc_forgedtransmitsinherited
Data type: Optional[Hash]
dsc_inheritfailback
Data type: Optional[Hash]
dsc_inheritfailoverorder
Data type: Optional[Hash]
dsc_inheritloadbalancingpolicy
Data type: Optional[Hash]
dsc_inheritnetworkfailoverdetectionpolicy
Data type: Optional[Hash]
dsc_inheritnotifyswitches
Data type: Optional[Hash]
dsc_loadbalancingpolicy
Data type: Optional[String]
dsc_macchanges
Data type: Optional[Hash]
dsc_macchangesinherited
Data type: Optional[Hash]
dsc_networkfailoverdetectionpolicy
Data type: Optional[String]
dsc_notifyswitches
Data type: Optional[Hash]
dsc_peakbandwidth
Data type: Optional[Hash]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_server
Data type: Optional[String]
dsc_standbynic
Data type: Optional[Array[String]]
dsc_unusednic
Data type: Optional[Array[String]]
dsc_vlanid
Data type: Optional[Hash]
Parameters
The following parameters are available in the dsc_standardportgroup
type.
dsc_ensure
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_vmhostname
namevar
Data type: String
dsc_vssname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_standardswitch
The DSC resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_standardswitch
type.
dsc_activenic
Data type: Optional[Array[String]]
dsc_allowpromiscuous
Data type: Optional[Hash]
dsc_averagebandwidth
Data type: Optional[Hash]
dsc_beaconinterval
Data type: Optional[Hash]
dsc_burstsize
Data type: Optional[Hash]
dsc_checkbeacon
Data type: Optional[Hash]
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_enabled
Data type: Optional[Hash]
dsc_forgedtransmits
Data type: Optional[Hash]
dsc_linkdiscoveryprotocoloperation
Data type: Optional[String]
dsc_linkdiscoveryprotocoltype
Data type: Optional[String]
dsc_macchanges
Data type: Optional[Hash]
dsc_mtu
Data type: Optional[Hash]
dsc_nicdevice
Data type: Optional[Array[String]]
dsc_notifyswitches
Data type: Optional[Hash]
dsc_peakbandwidth
Data type: Optional[Hash]
dsc_policy
Data type: Optional[String]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_rollingorder
Data type: Optional[Hash]
dsc_server
Data type: Optional[String]
dsc_standbynic
Data type: Optional[Array[String]]
Parameters
The following parameters are available in the dsc_standardswitch
type.
dsc_ensure
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vcentersettings
The DSC vCenterSettings resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vcentersettings
type.
dsc_eventmaxage
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_eventmaxageenabled
Data type: Optional[Boolean]
dsc_issue
Data type: Optional[String]
dsc_issueclear
Data type: Optional[Boolean]
dsc_logginglevel
Data type: Optional[Enum['Unset', 'None', 'Error', 'Warning', 'Info', 'Verbose', 'Trivia']]
dsc_motd
Data type: Optional[String]
dsc_motdclear
Data type: Optional[Boolean]
dsc_taskmaxage
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_taskmaxageenabled
Data type: Optional[Boolean]
Parameters
The following parameters are available in the dsc_vcentersettings
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_server
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vcenterstatistics
The DSC vCenterStatistics resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vcenterstatistics
type.
dsc_enabled
Data type: Optional[Boolean]
dsc_intervalminutes
Data type: Optional[Integer[-9223372036854775808, 9223372036854775807]]
dsc_level
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_periodlength
Data type: Optional[Integer[-9223372036854775808, 9223372036854775807]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vcenterstatistics
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_period
namevar
Data type: Enum['Day', 'Week', 'Month', 'Year']
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vcentervmhost
The DSC vCenterVMHost resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vcentervmhost
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_port
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_resourcepoollocation
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vcentervmhost
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_force
dsc_location
dsc_name
dsc_psdscrunascredential
dsc_vmhostcredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_force
Data type: Optional[Boolean]
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostcredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vdportgroup
The DSC VDPortGroup resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vdportgroup
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_notes
Data type: Optional[String]
dsc_numports
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_portbinding
Data type: Optional[Enum['Static', 'Dynamic', 'Ephemeral', 'Unset']]
dsc_referencevdportgroupname
Data type: Optional[String]
dsc_server
Data type: Optional[String]
dsc_vdsname
Data type: String
dsc_vlanid
Data type: Optional[Integer[-2147483648, 2147483647]]
Parameters
The following parameters are available in the dsc_vdportgroup
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vdswitch
The DSC VDSwitch resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vdswitch
type.
dsc_contactdetails
Data type: Optional[String]
dsc_contactname
Data type: Optional[String]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_linkdiscoveryprotocol
Data type: Optional[Enum['CDP', 'LLDP', 'Unset']]
dsc_linkdiscoveryprotocoloperation
Data type: Optional[Enum['Advertise', 'Both', 'Listen', 'None', 'Unset']]
dsc_maxports
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_mtu
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_notes
Data type: Optional[String]
dsc_numuplinkports
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_referencevdswitchname
Data type: Optional[String]
dsc_server
Data type: Optional[String]
dsc_version
Data type: Optional[String]
dsc_withoutportgroups
Data type: Optional[Boolean]
Parameters
The following parameters are available in the dsc_vdswitch
type.
dsc_credential
dsc_datacenterlocation
dsc_datacentername
dsc_location
dsc_name
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datacenterlocation
namevar
Data type: String
dsc_datacentername
namevar
Data type: String
dsc_location
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vdswitchvmhost
The DSC VDSwitchVMHost resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vdswitchvmhost
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
dsc_vmhostnames
Data type: Array[String]
Parameters
The following parameters are available in the dsc_vdswitchvmhost
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vdsname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmfsdatastore
The DSC VmfsDatastore resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmfsdatastore
type.
dsc_blocksizemb
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_congestionthresholdmillisecond
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_filesystemversion
Data type: Optional[String]
dsc_path
Data type: String
dsc_server
Data type: Optional[String]
dsc_storageiocontrolenabled
Data type: Optional[Boolean]
Parameters
The following parameters are available in the dsc_vmfsdatastore
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostacceptancelevel
The DSC VMHostAcceptanceLevel resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostacceptancelevel
type.
dsc_level
Data type: Enum['VMwareCertified', 'VMwareAccepted', 'PartnerSupported', 'CommunitySupported']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostacceptancelevel
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostaccount
The DSC VMHostAccount resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostaccount
type.
dsc_accountpassword
Data type: Optional[String]
dsc_description
Data type: Optional[String]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_role
Data type: String
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostaccount
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_id
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostadvancedsettings
The DSC VMHostAdvancedSettings resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostadvancedsettings
type.
dsc_advancedsettings
Data type: Array[Struct[{ key => Optional[String], value => Optional[String], }]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostadvancedsettings
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostagentvm
The DSC VMHostAgentVM resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostagentvm
type.
dsc_agentvmdatastore
Data type: Optional[String]
dsc_agentvmnetwork
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostagentvm
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostauthentication
The DSC VMHostAuthentication resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostauthentication
type.
dsc_domainaction
Data type: Enum['Join', 'Leave']
dsc_domainname
Data type: String
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostauthentication
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_domaincredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostcache
The DSC VMHostCache resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostcache
type.
dsc_server
Data type: Optional[String]
dsc_swapsizegb
Data type: Float
Parameters
The following parameters are available in the dsc_vmhostcache
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_datastorename
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostconfiguration
The DSC VMHostConfiguration resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostconfiguration
type.
dsc_evacuate
Data type: Optional[Boolean]
dsc_hostprofilename
Data type: Optional[String]
dsc_kmsclustername
Data type: Optional[String]
dsc_licensekey
Data type: Optional[String]
dsc_server
Data type: Optional[String]
dsc_state
Data type: Optional[Enum['Connected', 'Disconnected', 'Maintenance', 'Unset']]
dsc_timezonename
Data type: Optional[String]
dsc_vmswapfiledatastorename
Data type: Optional[String]
dsc_vmswapfilepolicy
Data type: Optional[Enum['InHostDatastore', 'WithVM', 'Unset']]
dsc_vsandatamigrationmode
Data type: Optional[Enum['Full', 'EnsureAccessibility', 'NoDataMigration', 'Unset']]
Parameters
The following parameters are available in the dsc_vmhostconfiguration
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostdcuikeyboard
The DSC VMHostDCUIKeyboard resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostdcuikeyboard
type.
dsc_layout
Data type: String
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostdcuikeyboard
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostdnssettings
The DSC VMHostDnsSettings resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostdnssettings
type.
dsc_address
Data type: Optional[Array[String]]
dsc_dhcp
Data type: Boolean
dsc_domainname
Data type: String
dsc_hostname
Data type: String
dsc_ipv6virtualnicdevice
Data type: Optional[String]
dsc_searchdomain
Data type: Optional[Array[String]]
dsc_server
Data type: Optional[String]
dsc_virtualnicdevice
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostdnssettings
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostfirewallruleset
The DSC VMHostFirewallRuleset resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostfirewallruleset
type.
dsc_allip
Data type: Optional[Boolean]
dsc_enabled
Data type: Optional[Boolean]
dsc_ipaddresses
Data type: Optional[Array[String]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostfirewallruleset
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostgraphics
The DSC VMHostGraphics resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostgraphics
type.
dsc_graphicstype
Data type: Enum['Shared', 'SharedDirect']
dsc_restarttimeoutminutes
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_server
Data type: Optional[String]
dsc_sharedpassthruassignmentpolicy
Data type: Enum['Performance', 'Consolidation']
Parameters
The following parameters are available in the dsc_vmhostgraphics
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostgraphicsdevice
The DSC VMHostGraphicsDevice resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostgraphicsdevice
type.
dsc_graphicstype
Data type: Enum['Shared', 'SharedDirect']
dsc_restarttimeoutminutes
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostgraphicsdevice
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_id
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostiproute
The DSC VMHostIPRoute resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostiproute
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostiproute
type.
dsc_credential
dsc_destination
dsc_gateway
dsc_name
dsc_prefixlength
dsc_psdscrunascredential
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_destination
namevar
Data type: String
dsc_gateway
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_prefixlength
namevar
Data type: Integer[-2147483648, 2147483647]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostiscsihba
The DSC VMHostIScsiHba resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostiscsihba
type.
dsc_chapname
Data type: Optional[String]
dsc_chappassword
Data type: Optional[String]
dsc_chaptype
Data type: Optional[Enum['Prohibited', 'Discouraged', 'Preferred', 'Required', 'Unset']]
dsc_iscsiname
Data type: Optional[String]
dsc_mutualchapenabled
Data type: Optional[Boolean]
dsc_mutualchapname
Data type: Optional[String]
dsc_mutualchappassword
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostiscsihba
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_force
Data type: Optional[Boolean]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostiscsihbatarget
The DSC VMHostIScsiHbaTarget resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostiscsihbatarget
type.
dsc_chapname
Data type: Optional[String]
dsc_chappassword
Data type: Optional[String]
dsc_chaptype
Data type: Optional[Enum['Prohibited', 'Discouraged', 'Preferred', 'Required', 'Unset']]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_inheritchap
Data type: Optional[Boolean]
dsc_inheritmutualchap
Data type: Optional[Boolean]
dsc_iscsiname
Data type: Optional[String]
dsc_mutualchapenabled
Data type: Optional[Boolean]
dsc_mutualchapname
Data type: Optional[String]
dsc_mutualchappassword
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostiscsihbatarget
type.
dsc_address
dsc_credential
dsc_force
dsc_iscsihbaname
dsc_port
dsc_psdscrunascredential
dsc_targettype
dsc_vmhostname
name
validation_mode
dsc_address
namevar
Data type: String
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_force
Data type: Optional[Boolean]
dsc_iscsihbaname
namevar
Data type: String
dsc_port
namevar
Data type: Integer[-2147483648, 2147483647]
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_targettype
namevar
Data type: Enum['Static', 'Send']
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostiscsihbavmkernelnic
The DSC VMHostIScsiHbaVMKernelNic resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostiscsihbavmkernelnic
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_server
Data type: Optional[String]
dsc_vmkernelnicnames
Data type: Array[String]
Parameters
The following parameters are available in the dsc_vmhostiscsihbavmkernelnic
type.
dsc_credential
dsc_force
dsc_iscsihbaname
dsc_psdscrunascredential
dsc_vmhostname
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_force
Data type: Optional[Boolean]
dsc_iscsihbaname
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostnetworkcoredump
The DSC VMHostNetworkCoreDump resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostnetworkcoredump
type.
dsc_enable
Data type: Optional[Boolean]
dsc_interfacename
Data type: Optional[String]
dsc_server
Data type: Optional[String]
dsc_serverip
Data type: Optional[String]
dsc_serverport
Data type: Optional[Integer[-9223372036854775808, 9223372036854775807]]
Parameters
The following parameters are available in the dsc_vmhostnetworkcoredump
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostntpsettings
The DSC VMHostNtpSettings resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostntpsettings
type.
dsc_ntpserver
Data type: Optional[Array[String]]
dsc_ntpservicepolicy
Data type: Optional[Enum['Unset', 'On', 'Off', 'Automatic']]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostntpsettings
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostpcipassthrough
The DSC VMHostPciPassthrough resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostpcipassthrough
type.
dsc_enabled
Data type: Boolean
dsc_restarttimeoutminutes
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostpcipassthrough
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_id
namevar
Data type: String
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostpermission
The DSC VMHostPermission resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostpermission
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_propagate
Data type: Optional[Boolean]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostpermission
type.
dsc_credential
dsc_entitylocation
dsc_entityname
dsc_entitytype
dsc_principalname
dsc_psdscrunascredential
dsc_rolename
name
validation_mode
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_entitylocation
namevar
Data type: String
dsc_entityname
namevar
Data type: String
dsc_entitytype
namevar
Data type: Enum['Folder', 'Datacenter', 'Cluster', 'Datastore', 'DatastoreCluster', 'VMHost', 'ResourcePool', 'VApp', 'VM', 'Template']
dsc_principalname
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_rolename
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostphysicalnic
The DSC VMHostPhysicalNic resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostphysicalnic
type.
dsc_autonegotiate
Data type: Optional[Boolean]
dsc_bitratepersecmb
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_duplex
Data type: Optional[Enum['Full', 'Half', 'Unset']]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostphysicalnic
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_vmhostname
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostpowerpolicy
The DSC VMHostPowerPolicy resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostpowerpolicy
type.
dsc_powerpolicy
Data type: Enum['HighPerformance', 'Balanced', 'LowPower', 'Custom']
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostpowerpolicy
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostrole
The DSC VMHostRole resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostrole
type.
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_privilegeids
Data type: Optional[Array[String]]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostrole
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostsatpclaimrule
The DSC VMHostSatpClaimRule resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostsatpclaimrule
type.
dsc_boot
Data type: Optional[Boolean]
dsc_claimoptions
Data type: Optional[String]
dsc_description
Data type: Optional[String]
dsc_device
Data type: Optional[String]
dsc_driver
Data type: Optional[String]
dsc_ensure
Data type: Enum['Absent', 'Present']
dsc_model
Data type: Optional[String]
dsc_options
Data type: Optional[String]
dsc_psp
Data type: Optional[String]
dsc_pspoptions
Data type: Optional[String]
dsc_server
Data type: Optional[String]
dsc_transport
Data type: Optional[String]
dsc_type
Data type: Optional[String]
dsc_vendor
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostsatpclaimrule
type.
dsc_credential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_force
Data type: Optional[Boolean]
dsc_name
namevar
Data type: String
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_rulename
namevar
Data type: String
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_vmhostscsilun
The DSC VMHostScsiLun resource type. Automatically generated from version 2.2.0.84
Properties
The following properties are available in the dsc_vmhostscsilun
type.
dsc_blockstoswitchpath
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_commandstoswitchpath
Data type: Optional[Integer[-2147483648, 2147483647]]
dsc_deletepartitions
Data type: Optional[Boolean]
dsc_islocal
Data type: Optional[Boolean]
dsc_isssd
Data type: Optional[Boolean]
dsc_multipathpolicy
Data type: Optional[Enum['Fixed', 'MostRecentlyUsed', 'RoundRobin', 'Unknown', 'Unset']]
dsc_preferredscsilunpathname
Data type: Optional[String]
dsc_server
Data type: Optional[String]
Parameters
The following parameters are available in the dsc_vmhostscsilun
type.
dsc_canonicalname
namevar
Data type: String
Dependencies
- puppetlabs/pwshlib (>= 0.9.0 < 2.0.0)