DSCResources/Grani_HostsFile/Grani_HostsFile.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("cHostsFile")] class Grani_HostsFile : OMI_BaseResource { [Key, Description("HostName to be redirected.")] String HostName; [Required, Description("Ensure Host Entry is Present or Absent."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Required, Description("IP Address for reference.")] String IpAddress; [Write, Description("Reference type for DnsServer. When Reference is DnsServer, resolve DNS with selected server. When Reference is StaticIp, no resolve and just added IP Address"), ValueMap{"DnsServer","StaticIp"}, Values{"DnsServer","StaticIp"}] String Reference; }; |