modules/deploy/dsc/ext/Grani/GraniResource/DSCResources/Grani_Download/Grani_Download.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("cDownload")] class Grani_Download : OMI_BaseResource { [Key, Description("Request Uri to obtain file.")] String Uri; [Required, Description("File Path to output Donwloaded item.")] String DestinationPath; [Write, EmbeddedInstance("MSFT_KeyValuePair"), Description("Specify Headers for Web Request.")] String Header; [Write, Description("Specify ContentType for Web Request.")] String ContentType; [Write, EmbeddedInstance("MSFT_Credential"), Description("Specify Basic Authorization Credential Web Request.")] String Credential; [Write, Description("Specify User-Agent for Web Request")] String UserAgent; [Write, Description("Specify if you want to control Redirect.")] Boolean AllowRedirect; [Write, Description("Specify CacheLocation to hold your last configuration result.")] String CacheLocation; [Read, Description("Describe File is exist on DestinationPath or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; }; |