Compartilhar via


NotificationSetting Class

Definition

Configuration for notification.

public class NotificationSetting : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.NotificationSetting>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.NotificationSetting>
public class NotificationSetting
type NotificationSetting = class
    interface IJsonModel<NotificationSetting>
    interface IPersistableModel<NotificationSetting>
type NotificationSetting = class
Public Class NotificationSetting
Implements IJsonModel(Of NotificationSetting), IPersistableModel(Of NotificationSetting)
Public Class NotificationSetting
Inheritance
NotificationSetting
Implements

Constructors

NotificationSetting()

Initializes a new instance of NotificationSetting.

Properties

EmailOn

Send email notification to user on specified notification type.

Emails

This is the email recipient list which has a limitation of 499 characters in total concat with comma separator.

Webhooks

Send webhook callback to a service. Key is a user-provided name for the webhook. Please note MachineLearningWebhook is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureDevOpsWebhook.

Explicit Interface Implementations

IJsonModel<NotificationSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NotificationSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NotificationSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to