Dela via


DataProtectionBackupTriggerContext Class

Definition

Trigger context Please note DataProtectionBackupTriggerContext is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AdhocBasedBackupTriggerContext and ScheduleBasedBackupTriggerContext.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownTriggerContext))]
public abstract class DataProtectionBackupTriggerContext : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupTriggerContext>
public abstract class DataProtectionBackupTriggerContext
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataProtectionBackup.Models.UnknownTriggerContext))>]
type DataProtectionBackupTriggerContext = class
    interface IJsonModel<DataProtectionBackupTriggerContext>
    interface IPersistableModel<DataProtectionBackupTriggerContext>
type DataProtectionBackupTriggerContext = class
Public MustInherit Class DataProtectionBackupTriggerContext
Implements IJsonModel(Of DataProtectionBackupTriggerContext), IPersistableModel(Of DataProtectionBackupTriggerContext)
Public MustInherit Class DataProtectionBackupTriggerContext
Inheritance
DataProtectionBackupTriggerContext
Derived
Attributes
Implements

Constructors

DataProtectionBackupTriggerContext()

Initializes a new instance of DataProtectionBackupTriggerContext.

Explicit Interface Implementations

IJsonModel<DataProtectionBackupTriggerContext>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataProtectionBackupTriggerContext>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataProtectionBackupTriggerContext>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataProtectionBackupTriggerContext>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataProtectionBackupTriggerContext>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to