RecommendedActionStateInfo 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.
Contains information of current state for an Azure SQL Database, Server or Elastic Pool Recommended Action.
public class RecommendedActionStateInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.RecommendedActionStateInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.RecommendedActionStateInfo>
type RecommendedActionStateInfo = class
interface IJsonModel<RecommendedActionStateInfo>
interface IPersistableModel<RecommendedActionStateInfo>
Public Class RecommendedActionStateInfo
Implements IJsonModel(Of RecommendedActionStateInfo), IPersistableModel(Of RecommendedActionStateInfo)
- Inheritance
-
RecommendedActionStateInfo
- Implements
Constructors
RecommendedActionStateInfo(RecommendedActionCurrentState) |
Initializes a new instance of RecommendedActionStateInfo. |
Properties
ActionInitiatedBy |
Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it. |
CurrentValue |
Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action. |
LastModified |
Gets the time when the state was last modified. |
Explicit Interface Implementations
IJsonModel<RecommendedActionStateInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RecommendedActionStateInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RecommendedActionStateInfo>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RecommendedActionStateInfo>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RecommendedActionStateInfo>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |