Resource Type: dsc_smavariable

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

Overview

The DSC SmaVariable resource type. Automatically generated from ‘xSCSMA/DSCResources/MSFT_xSmaVariable/MSFT_xSmaVariable.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_description

    Description - Description of SMA variable.

  • dsc_ensure

    Ensure - Desired state of SMA variable Valid values are Present, Absent.

  • dsc_name

    Name - Name of SMA variable.

  • dsc_port

    Port - Port to reach the web service endpoint. Defaults to the SMA default of 9090.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_set

    Set - Set is true if existing SMA variable matches configuration.

    Supported values:
    • true
    • false
  • dsc_value

    value - Value of SMA variable.

  • dsc_webserviceendpoint

    WebServiceEndpoint - Web service endpoint of SMA instance.

  • name (namevar)
  • provider

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