DSCResources/MSFT_TeamsOnlineVoicemailPolicy/MSFT_TeamsOnlineVoicemailPolicy.schema.mof

[ClassVersion("1.0.0.0"), FriendlyName("TeamsOnlineVoicemailPolicy")]
class MSFT_TeamsOnlineVoicemailPolicy : OMI_BaseResource
{
    [Key, Description("Identity of the Teams Online Voicemail Policy.")] String Identity;
    [Write, Description("Controls if editing call answer rule settings are enabled or disabled for a user. Possible values are $true or $false.")] Boolean EnableEditingCallAnswerRulesSetting;
    [Write, Description("Allows you to disable or enable voicemail transcription. Possible values are $true or $false.")] Boolean EnableTranscription;
    [Write, Description("Allows you to disable or enable profanity masking for the voicemail transcriptions. Possible values are $true or $false.")] Boolean EnableTranscriptionProfanityMasking;
    [Write, Description("Allows you to disable or enable translation for the voicemail transcriptions. Possible values are $true or $false.")] Boolean EnableTranscriptionTranslation;
    [Write, Description("A duration of voicemail maximum recording length. The length should be between 30 seconds to 600 seconds.")] String MaximumRecordingLength;
    [Write, Description("The primary (or first) language that voicemail system prompts will be presented in. Must also set SecondarySystemPromptLanguage. When set, this overrides the user language choice.")] String PrimarySystemPromptLanguage;
    [Write, Description("The secondary language that voicemail system prompts will be presented in. Must also set PrimarySystemPromptLanguage and may not be the same value as PrimarySystemPromptanguage. When set, this overrides the user language choice. ")] String SecondarySystemPromptLanguage;
    [Write, Description("Specifies whether voicemail and transcription data are shared with the service for training and improving accuracy. Possible values are Defer and Deny.")] String ShareData;
    [Write, Description("Present ensures the policy exists, absent ensures it is removed."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Required, Description("Credentials of the Teams Global Admin."), EmbeddedInstance("MSFT_Credential")] String Credential;
};