DSCResources/MSFT_SCRetentionComplianceRule/MSFT_SCRetentionComplianceRule.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[ClassVersion("1.0.0.0"), FriendlyName("SCRetentionComplianceRule")]
class MSFT_SCRetentionComplianceRule : OMI_BaseResource
{
    [Key, Description("The Name parameter specifies the unique name of the retention rule.")] String Name;
    [Required, Description("The Policy parameter specifies the policy to contain the rule.")] String Policy;
    [Write, Description("Specify if this rule should exist or not."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write, Description("The Comment parameter specifies an optional comment.")] String Comment;
    [Write, Description("The ExpirationDateOption parameter specifies whether the expiration date is calculated from the content creation date or last modification date. Valid values are: CreationAgeInDays and ModificationAgeInDays."), ValueMap{"CreationAgeInDays","ModificationAgeInDays"}, Values{"CreationAgeInDays","ModificationAgeInDays"}] String ExpirationDateOption;
    [Write, Description("The ExcludedItemClasses parameter specifies the types of messages to exclude from the rule. You can use this parameter only to exclude items from a hold policy, which excludes the specified item class from being held. Using this parameter won't exclude items from deletion policies. Typically, you use this parameter to exclude voicemail messages, IM conversations, and other Skype for Business Online content from being held by a hold policy.")] String ExcludedItemClasses[];
    [Write, Description("The ContentMatchQuery parameter specifies a content search filter.")] String ContentMatchQuery;
    [Write, Description("The RetentionComplianceAction parameter specifies the retention action for the rule. Valid values are: Delete, Keep and KeepAndDelete."), ValueMap{"Delete","Keep","KeepAndDelete"}, Values{"Delete","Keep","KeepAndDelete"}] String RetentionComplianceAction;
    [Write, Description("The RetentionDuration parameter specifies the hold duration for the retention rule. Valid values are: An integer - The hold duration in days, Unlimited - The content is held indefinitely.")] String RetentionDuration;
    [Write, Description("The RetentionDurationDisplayHint parameter specifies the units that are used to display the retention duration in the Security and Compliance Center. Valid values are: Days, Months or Years."), ValueMap{"Days","Months","Years"}, Values{"Days","Months","Years"}] String RetentionDurationDisplayHint;
    [Required, Description("Credentials of the Exchange Global Admin"), EmbeddedInstance("MSFT_Credential")] String GlobalAdminAccount;
};