Class NotificationSettingsFragment
Notification settings for a schedule.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DevTestLabs.dll
Syntax
public class NotificationSettingsFragment
Constructors
NotificationSettingsFragment()
Initializes a new instance of the NotificationSettingsFragment class.
Declaration
public NotificationSettingsFragment ();
NotificationSettingsFragment(String, Nullable<Int32>, String, String, String)
Initializes a new instance of the NotificationSettingsFragment class.
Declaration
public NotificationSettingsFragment (string status = null, Nullable<int> timeInMinutes = null, string webhookUrl = null, string emailRecipient = null, string notificationLocale = null);
Parameters
|
String
status
If notifications are enabled for this schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', 'Disabled' |
|
Nullable<Int32>
timeInMinutes
Time in minutes before event at which notification will be sent. |
|
String
webhookUrl
The webhook URL to which the notification will be sent. |
|
String
emailRecipient
The email recipient to send notifications to (can be a list of semi-colon seperated email addresses). |
|
String
notificationLocale
The locale to use when sending a notification (fallback for unsupported languages is EN). |
Properties
EmailRecipient
Gets or sets the email recipient to send notifications to (can be a list of semi-colon seperated email addresses).
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="emailRecipient")]
public string EmailRecipient { get; set; }
Property Value
|
String
|
NotificationLocale
Gets or sets the locale to use when sending a notification (fallback for unsupported languages is EN).
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="notificationLocale")]
public string NotificationLocale { get; set; }
Property Value
|
String
|
Status
Gets or sets if notifications are enabled for this schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', 'Disabled'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="status")]
public string Status { get; set; }
Property Value
|
String
|
TimeInMinutes
Gets or sets time in minutes before event at which notification will be sent.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="timeInMinutes")]
public Nullable<int> TimeInMinutes { get; set; }
Property Value
|
Nullable<Int32>
|
WebhookUrl
Gets or sets the webhook URL to which the notification will be sent.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="webhookUrl")]
public string WebhookUrl { get; set; }
Property Value
|
String
|