Share via


UserFacingWarningDetail Class

Definition

Warning object used by layers that have access to localized content, and propagate that to user

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter))]
public class UserFacingWarningDetail : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter))>]
type UserFacingWarningDetail = class
    interface IUserFacingWarningDetail
    interface IJsonSerializable
Public Class UserFacingWarningDetail
Implements IUserFacingWarningDetail
Inheritance
UserFacingWarningDetail
Attributes
Implements

Constructors

UserFacingWarningDetail()

Creates an new UserFacingWarningDetail instance.

Properties

ResourceName

Name of resource for which warning is raised.

Warning

Error details for the warning.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserFacingWarningDetail.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserFacingWarningDetail.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserFacingWarningDetail into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to