Share via


UserFacingWarningDetail Class

Definition

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

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

Properties

ResourceName

Name of resource for which warning is raised.

Warning

Error details for the warning.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UserFacingWarningDetail>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserFacingWarningDetail>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserFacingWarningDetail>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserFacingWarningDetail>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserFacingWarningDetail>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to