Поделиться через


WorkloadBackupContent Class

Definition

AzureWorkload workload-specific backup request.

public class WorkloadBackupContent : Azure.ResourceManager.RecoveryServicesBackup.Models.BackupContent, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadBackupContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.WorkloadBackupContent>
type WorkloadBackupContent = class
    inherit BackupContent
    interface IJsonModel<WorkloadBackupContent>
    interface IPersistableModel<WorkloadBackupContent>
Public Class WorkloadBackupContent
Inherits BackupContent
Implements IJsonModel(Of WorkloadBackupContent), IPersistableModel(Of WorkloadBackupContent)
Inheritance
WorkloadBackupContent
Implements

Constructors

WorkloadBackupContent()

Initializes a new instance of WorkloadBackupContent.

Properties

BackupType

Type of backup, viz. Full, Differential, Log or CopyOnlyFull.

EnableCompression

Bool for Compression setting.

RecoveryPointExpireOn

Backup copy will expire after the time specified (UTC).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BackupContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BackupContent)
IJsonModel<BackupContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BackupContent)
IJsonModel<WorkloadBackupContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WorkloadBackupContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BackupContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BackupContent)
IPersistableModel<BackupContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BackupContent)
IPersistableModel<BackupContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BackupContent)
IPersistableModel<WorkloadBackupContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkloadBackupContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WorkloadBackupContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to