你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NotificationSetting 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.
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. |