Condividi tramite


RecommendedActionErrorInfo Class

Definition

Contains error information for an Azure SQL Database, Server or Elastic Pool Recommended Action.

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

Properties

ErrorCode

Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists.

IsRetryable

Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No.

Explicit Interface Implementations

IJsonModel<RecommendedActionErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RecommendedActionErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RecommendedActionErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RecommendedActionErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RecommendedActionErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to