Resource Type: dsc_spdistributedcacheservice

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

Overview

The DSC SPDistributedCacheService resource type. Automatically generated from ‘SharePointDsc/DSCResources/MSFT_SPDistributedCacheService/MSFT_SPDistributedCacheService.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_cachesizeinmb

    CacheSizeInMB - How many MB should be used for the cache. The maximum supported is 16384

  • dsc_createfirewallrules

    CreateFirewallRules - Should the Windows Firewall rules for distributed cache be created?

    Supported values:
    • true
    • false
  • dsc_ensure

    Ensure - Present to ensure the current server should be running distributed cache, absent to ensure that it isn’t running Valid values are Present, Absent.

  • dsc_installaccount

    InstallAccount - POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

  • dsc_name

    Name - A name to assign to this resource - not really used. For example - AppFabricCachingService

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_serverprovisionorder

    ServerProvisionOrder - A list of servers which specifies the order they should provision the cache in to ensure that two servers do not do it at the same time

  • dsc_serviceaccount

    ServiceAccount - The name of the service account to run the service as. This should already be registered as a managed account in SharePoint

  • name (namevar)
  • provider

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