TargetCopySetting 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.
Target copy settings.
public class TargetCopySetting : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.TargetCopySetting>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.TargetCopySetting>
public class TargetCopySetting
type TargetCopySetting = class
interface IJsonModel<TargetCopySetting>
interface IPersistableModel<TargetCopySetting>
type TargetCopySetting = class
Public Class TargetCopySetting
Implements IJsonModel(Of TargetCopySetting), IPersistableModel(Of TargetCopySetting)
Public Class TargetCopySetting
- Inheritance
-
TargetCopySetting
- Implements
Constructors
TargetCopySetting(DataProtectionBackupCopySetting, DataStoreInfoBase) |
Initializes a new instance of TargetCopySetting. |
Properties
CopyAfter |
It can be CustomCopyOption or ImmediateCopyOption. Please note DataProtectionBackupCopySetting 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 CopyOnExpirySetting, CustomCopySetting and ImmediateCopySetting. |
DataStore |
Info of target datastore. |
Explicit Interface Implementations
IJsonModel<TargetCopySetting>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<TargetCopySetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<TargetCopySetting>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<TargetCopySetting>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<TargetCopySetting>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |