Skip to main content

Emailnotificationoption

Properties

NameTypeDescriptionNotes
NotifyManagersBooleanIf true, then the manager is notified of the lifecycle state change.[optional] [default to $false]
NotifyAllAdminsBooleanIf true, then all the admins are notified of the lifecycle state change.[optional] [default to $false]
NotifySpecificUsersBooleanIf true, then the users specified in ""emailAddressList"" below are notified of lifecycle state change.[optional] [default to $false]
EmailAddressList[]StringList of user email addresses. If ""notifySpecificUsers"" option is true, then these users are notified of lifecycle state change.[optional]

Examples

  • Prepare the resource
$Emailnotificationoption = Initialize-Emailnotificationoption  -NotifyManagers true `
-NotifyAllAdmins true `
-NotifySpecificUsers true `
-EmailAddressList ["test@test.com","test2@test.com"]
  • Convert the resource to JSON
$Emailnotificationoption | ConvertTo-JSON

[Back to top]