Skip to main content

TemplateDtoDefault

Properties

NameTypeDescriptionNotes
KeyStringThe key of the default template[optional]
NameStringThe name of the default template[optional]
MediumEnum [ "EMAIL", "PHONE", "SMS", "SLACK", "TEAMS" ]The message medium. More mediums may be added in the future.[optional]
LocaleStringThe locale for the message text, a BCP 47 language tag.[optional]
SubjectStringThe subject of the default template[optional]
HeaderStringThe header value is now located within the body field. If included with non-null values, will result in a 400.[optional]
BodyStringThe body of the default template[optional]
FooterStringThe footer value is now located within the body field. If included with non-null values, will result in a 400.[optional]
VarFromStringThe ""From:"" address of the default template[optional]
ReplyToStringThe ""Reply To"" field of the default template[optional]
DescriptionStringThe description of the default template[optional]
SlackTemplateTemplateSlack[optional]
TeamsTemplateTemplateTeams[optional]

Examples

  • Prepare the resource
$TemplateDtoDefault = Initialize-PSSailpoint.BetaTemplateDtoDefault  -Key cloud_manual_work_item_summary `
-Name Task Manager Subscription `
-Medium EMAIL `
-Locale en `
-Subject You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}. `
-Header null `
-Body Please go to the task manager `
-Footer null `
-VarFrom $__global.emailFromAddress `
-ReplyTo $__global.emailFromAddress `
-Description Daily digest - sent if number of outstanding tasks for task owner > 0 `
-SlackTemplate null `
-TeamsTemplate null
  • Convert the resource to JSON
$TemplateDtoDefault | ConvertTo-JSON

[Back to top]