NotificationSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The information about notifications to be send to about upcoming operations.
public class NotificationSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeSchedule.Models.NotificationSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeSchedule.Models.NotificationSettings>
type NotificationSettings = class
interface IJsonModel<NotificationSettings>
interface IPersistableModel<NotificationSettings>
Public Class NotificationSettings
Implements IJsonModel(Of NotificationSettings), IPersistableModel(Of NotificationSettings)
- Inheritance
-
NotificationSettings
- Implements
Constructors
NotificationSettings(String, NotificationType, NotificationLanguage) |
Initializes a new instance of NotificationSettings. |
Properties
Destination |
Where the notification should be sent. For email, it should follow email format. |
IsDisabled |
Tells if the notification is enabled or not. |
Language |
The language the notification should be sent on. |
Type |
Type of notification to be sent. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<NotificationSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<NotificationSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<NotificationSettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<NotificationSettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<NotificationSettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |