DSCResources/Grani_DomainJoin/Grani_DomainJoin.schema.mof

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

[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;
};