Language

BackupConfig Class

Definition

The backup options for the VM backup.

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

Constructors

Name Description
BackupConfig(String, Boolean, Boolean, Boolean)

Initializes a new instance of BackupConfig.

Properties

Name Description
BackupLevel

Indicates whether to stop backup or not for the VM.

JobDescription

The name of the backup job to be shown in Commvault.

ShouldCopyImmediately

Indicates whether to run backup immediately or not for the VM.

ShouldNotifyUserOnJobCompletion

Indicates whether to notify the user on job completion.

ShouldRunSnapshotBackup

Indicates whether to run snapshot backup or not for the VM, if false, it will run regular backup.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BackupConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<BackupConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BackupConfig>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<BackupConfig>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<BackupConfig>.Write(ModelReaderWriterOptions)

Applies to