Megosztás a következőn keresztül:


SourceLifeCycle Class

Definition

Source LifeCycle.

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

Constructors

SourceLifeCycle(DataProtectionBackupDeleteSetting, DataStoreInfoBase)

Initializes a new instance of SourceLifeCycle.

Properties

DeleteAfter

Delete Option Please note DataProtectionBackupDeleteSetting 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 DataProtectionBackupAbsoluteDeleteSetting.

SourceDataStore

DataStoreInfo base.

TargetDataStoreCopySettings

Gets the target data store copy settings.

Explicit Interface Implementations

IJsonModel<SourceLifeCycle>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceLifeCycle>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceLifeCycle>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceLifeCycle>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceLifeCycle>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to