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

NotificationPreference Class

Definition

Notification preference for a job stage.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.NotificationPreferenceTypeConverter))]
public class NotificationPreference : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.INotificationPreference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.NotificationPreferenceTypeConverter))>]
type NotificationPreference = class
    interface INotificationPreference
    interface IJsonSerializable
Public Class NotificationPreference
Implements INotificationPreference
Inheritance
NotificationPreference
Attributes
Implements

Constructors

NotificationPreference()

Creates an new NotificationPreference instance.

Properties

SendNotification

Notification is required or not.

StageName

Name of the stage.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NotificationPreference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NotificationPreference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.INotificationPreference.

FromJsonString(String)

Creates a new instance of NotificationPreference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NotificationPreference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to