dsc/ext/Grani/GraniResource.3.7.8.2/DSCResources/Grani_DomainJoin/Grani_DomainJoin.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("cDomainJoin")]
class Grani_DomainJoin : OMI_BaseResource
{
    [Key] String Identifier;
    [Read] String Name;
    [Read, Description("Describe Status is in desired state."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write] String DomainName;
    [Write] String WorkGroupName;
    [Write, EmbeddedInstance("MSFT_Credential")] String Credential;
    [Write, EmbeddedInstance("MSFT_Credential")] String UnjoinCredential;
    [Write] Boolean Restart;
};