DSCResources/MSFT_PlannerTask/MSFT_PlannerTask.schema.mof

[ClassVersion("1.0.0")]
class MSFT_PlannerTaskAttachment
{
    [Write, Description("Alias of for the attachment.")] String Alias;
    [Write, Description("Uri of the link to the attachment.")] String Uri;
    [Write, Description("Type of attachment."), ValueMap{"PowerPoint", "Word", "Excel", "Other"}, Values{"PowerPoint", "Word", "Excel", "Other"}] String Type;
};
[ClassVersion("1.0.0")]
class MSFT_PlannerTaskChecklistItem
{
    [Write, Description("Title of the checklist item.")] String Title;
    [Write, Description("True if the item is completed, false otherwise.")] String Completed;
};
[ClassVersion("1.0.0.0"), FriendlyName("PlannerTask")]
class MSFT_PlannerTask : OMI_BaseResource
{
    [Key, Description("Id of the Planner Plan which contains the Task.")] string PlanId;
    [Key, Description("The Title of the Planner Task.")] string Title;
    [Write, Description("List of categories assigned to the task."), ValueMap{"Pink", "Red", "Yellow", "Green", "Blue", "Purple"}, Values{"Pink", "Red", "Yellow", "Green", "Blue", "Purple"}] string Categories[];
    [Write, Description("List of users assigned to the tasks (ex: @('john.smith@contoso.com', 'bob.houle@contoso.com')).")] string AssignedUsers[];
    [Write, Description("List of links to attachments assigned to the task."), EmbeddedInstance("MSFT_PlannerTaskAttachment")] string Attachments[];
    [Write, Description("List checklist items associated with the task."), EmbeddedInstance("MSFT_PlannerTaskChecklistItem")] string Checklist[];
    [Write, Description("Description of the Task.")] string Notes;
    [Write, Description("The Id of the bucket that contains the task.")] string Bucket;
    [Write, Description("Id of the Task, if known.")] string TaskId;
    [Write, Description("Date and Time for the start of the Task.")] string StartDateTime;
    [Write, Description("Date and Time for the task is due for completion.")] string DueDateTime;
    [Write, Description("Percentage completed of the Task. Value can only be between 0 and 100.")] UInt32 PercentComplete;
    [Write, Description("Priority of the Task. Value can only be between 1 and 10.")] UInt32 Priority;
    [Write, Description("Id of the group conversation thread associated with the comments section for this task.")] String ConversationThreadId;
    [Write, Description("Present ensures the Plan exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write, Description("Credentials of the account to authenticate with."), EmbeddedInstance("MSFT_Credential")] string Credential;
    [Write, Description("Id of the Azure Active Directory application to authenticate with.")] String ApplicationId;
    [Write, Description("Id of the Azure Active Directory tenant used for authentication.")] String TenantId;
    [Write, Description("Secret of the Azure Active Directory tenant used for authentication."), EmbeddedInstance("MSFT_Credential")] String ApplicationSecret;
    [Write, Description("Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.")] String CertificateThumbprint;
    [Write, Description("Managed ID being used for authentication.")] Boolean ManagedIdentity;
};