DSCResources/MSFT_SPOSiteScript/MSFT_SPOSiteScript.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("SPOSiteScript")]
class MSFT_SPOSiteScript : OMI_BaseResource
{
    [Key, Description("ID of the site Script")] string Identity;
    [Write, Description("The title of the site script.")] string Title;
    [Write, Description("The description of the site script.")] string Description;
    [Write, Description("A JSON string containing the site script.")] string Content;
    [Write, Description("Present ensures the site script exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Required, Description("Credentials of the SharePoint Global Admin"), EmbeddedInstance("MSFT_Credential")] string GlobalAdminAccount;
};