Share via


InMageVolumeExclusionOptions Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.InMageVolumeExclusionOptionsTypeConverter))]
public class InMageVolumeExclusionOptions : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IInMageVolumeExclusionOptions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.InMageVolumeExclusionOptionsTypeConverter))>]
type InMageVolumeExclusionOptions = class
    interface IInMageVolumeExclusionOptions
    interface IJsonSerializable
Public Class InMageVolumeExclusionOptions
Implements IInMageVolumeExclusionOptions
Inheritance
InMageVolumeExclusionOptions
Attributes
Implements

Constructors

InMageVolumeExclusionOptions()

Creates an new InMageVolumeExclusionOptions instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of InMageVolumeExclusionOptions.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of InMageVolumeExclusionOptions.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IInMageVolumeExclusionOptions.

FromJsonString(String)

Creates a new instance of InMageVolumeExclusionOptions, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of InMageVolumeExclusionOptions into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to