DSCResources/MSFT_NugetPackage/MSFT_NugetPackage.schema.mof

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

[ClassVersion("1.0.0.0"),FriendlyName("NugetPackage")] 
class MSFT_NugetPackage : OMI_BaseResource
{
  [Key] String Name;
  [Required] String DestinationPath;
  [Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] String Ensure;
  [Write,ValueMap{"Trusted", "Untrusted"},Values{"Trusted", "Untrusted"}] String InstallationPolicy;
  [Write] String RequiredVersion;
  [Write] String MaximumVersion;
  [Write] String MinimumVersion;
  [Write] String Source;
  [Write,EmbeddedInstance("MSFT_Credential")] String SourceCredential;
  [Read] string Description;
  [Read] String InstalledVersion;
  [Read] String SoftwareIdentity;
};