#pragma namespace("\\\\.\\root\\default") instance of __namespace{ name="ms_804";}; #pragma namespace("\\\\.\\root\\default\\ms_804") [Description("将要由 powershell 扩展导入的所有配置提供程序的基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_BaseResource { [Description("资源实例的唯一 ID。") : Amended] string ResourceId; [Description("用于将其关联回 powershell 配置脚本的源信息。") : Amended] string SourceInfo; [Description("此资源所依赖的资源的列表。") : Amended] string DependsOn[]; [Description("Name of the module that supports this resource.")] string ModuleName; [Description("Version of the module that supports this resource.")] string ModuleVersion; [Description("Name of the Partial Configuration that this resource belongs to.")] string ConfiguratioName; [Description("Credentials under which the resource runs. ")] string PsDscRunAsCredential; }; [Description("此类表示键值对。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_KeyValuePair { }; [Description("用于将提供程序映射到某些配置引擎相关信息的配置提供程序注册基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_BaseConfigurationProviderRegistration { }; [Description("用于将 cim 提供程序映射到命名空间的配置提供程序注册基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_CimConfigurationProviderRegistration : MSFT_BaseConfigurationProviderRegistration { }; [Description("用于将 powershell 提供程序映射到其模块的配置提供程序注册基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_PSConfigurationProviderRegistration : MSFT_BaseConfigurationProviderRegistration { }; [Description("配置文档信息的基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_ConfigurationDocument { [Description("配置引擎可以用来进行记录的配置文档版本信息。") : Amended] String Version; [Description("配置文档作者信息。") : Amended] String Author; [Description("配置文档版权信息。") : Amended] String Copyright; [Description("配置文档帮助 URI。") : Amended] String HelpInfoUri; [Description("配置文档内容类型。仅支持 PasswordEncrypted 和 NotEncrypted。默认值为 NotEncrypted。") : Amended] String ContentType; [Description("配置文档生成日期。") : Amended] String GenerationDate; [Description("配置文档生成主机。") : Amended] String GenerationHost; [Description("配置文档名称。") : Amended] String Name; [Description("与目标 DSC 版本兼容的配置文档的最低版本要求。") : Amended] String MinimumCompatibleVersion; [Description("为实现版本兼容,此文档版本(1.0.0 以上)需要的其他属性(如果有)。") : Amended] String CompatibleVersionAdditionalProperties[]; [Description("已使用加密消息语法格式加密配置文档。") : Amended] boolean UseCms; }; [Description ("要用于 DSC 配置提供程序的凭据。" ) : Amended,AMENDMENT, LOCALE(0x0804)] class MSFT_Credential { [Description("UserName 是要映射到某个标识的授权服务的用户名。" ) : Amended] string UserName; [Description("UserPassword 属性可能包含用于访问资源的密码。" ) : Amended] string Password; }; [Description("所有元配置资源的基础架构。") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_MetaConfigurationResource { }; [Description("定义资源模块管理器结构的类") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_ResourceModuleManager : OMI_MetaConfigurationResource { [Description("资源模块管理器的名称。") : Amended] string Name; [Description("资源模块管理器的优先级。") : Amended] uint32 Priority; }; [Description("定义配置下载管理器的类") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_ConfigurationDownloadManager : OMI_MetaConfigurationResource { [Description("配置下载管理器的名称。") : Amended] string Name; }; [Description("定义报告管理器的类") : Amended,AMENDMENT, LOCALE(0x0804)] class OMI_ReportManager : OMI_MetaConfigurationResource { [Description("报告管理器的名称") : Amended] string Name; [Description("特定于报告管理器的自定义数据。") : Amended] string CustomData[]; };