Partilhar via


ICrossPlatformDsc Interface

Definition

Interface for implementing a cross platform desired state configuration component.

public interface ICrossPlatformDsc : System.Management.Automation.Subsystem.ISubsystem
[System.Runtime.CompilerServices.NullableContext(1)]
public interface ICrossPlatformDsc : System.Management.Automation.Subsystem.ISubsystem
type ICrossPlatformDsc = interface
    interface ISubsystem
[<System.Runtime.CompilerServices.NullableContext(1)>]
type ICrossPlatformDsc = interface
    interface ISubsystem
Public Interface ICrossPlatformDsc
Implements ISubsystem
Attributes
Implements

Properties

Description

Gets the description of a subsystem implementation.

(Inherited from ISubsystem)
FunctionsToDefine

Gets a dictionary that contains the functions to be defined at the global scope of a PowerShell session. Key: function name; Value: function script.

(Inherited from ISubsystem)
Id

Gets the unique identifier for a subsystem implementation.

(Inherited from ISubsystem)
Name

Gets the name of a subsystem implementation.

(Inherited from ISubsystem)

Methods

ClearCache()

Clear internal class caches.

GetDSCResourceUsageString(DynamicKeyword)

Returns resource usage string.

IsDefaultModuleNameForMetaConfigResource(String)

Checks if a string matches default module name used for meta configuration resources.

IsSystemResourceName(String)

Checks if a string is one of dynamic keywords that can be used in both configuration and meta configuration.

LoadDefaultKeywords(Collection<Exception>)

DSC initializer function.

Explicit Interface Implementations

ISubsystem.FunctionsToDefine

Default implementation. No function is required for this subsystem.

ISubsystem.Kind

Applies to