DSCResources/MSFT_PackageManagement/MSFT_PackageManagement.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

[ClassVersion("1.0.0.0"),FriendlyName("PackageManagement")] 
class MSFT_PackageManagement : OMI_BaseResource
{
  [Key] string Name;
  [Write] string RequiredVersion;
  [Write] string MinimumVersion;
  [Write] string MaximumVersion;
  [Write] string Source;
  [Write,EmbeddedInstance("MSFT_Credential")] String SourceCredential;
  [Write] String ProviderName;
  [Write,EmbeddedInstance("MSFT_KeyValuePair")] String AdditionalParameters[];
  [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure;
};