共用方式為


InMageVolumeExclusionOptions Class

Definition

Guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider.

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

Constructors

InMageVolumeExclusionOptions()

Initializes a new instance of InMageVolumeExclusionOptions.

Properties

OnlyExcludeIfSingleVolume

The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false.

VolumeLabel

The volume label. The disk having any volume with this label will be excluded from replication.

Explicit Interface Implementations

IJsonModel<InMageVolumeExclusionOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InMageVolumeExclusionOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InMageVolumeExclusionOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InMageVolumeExclusionOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InMageVolumeExclusionOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to