다음을 통해 공유


DisableProtectionProperties Class

Definition

Disable protection input properties.

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

Constructors

DisableProtectionProperties()

Initializes a new instance of DisableProtectionProperties.

Properties

DisableProtectionReason

Disable protection reason. It can have values NotSpecified/MigrationComplete.

ReplicationProviderContent

Replication provider specific input. Please note DisableProtectionProviderSpecificContent 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 InMageDisableProtectionProviderSpecificContent.

Explicit Interface Implementations

IJsonModel<DisableProtectionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DisableProtectionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DisableProtectionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DisableProtectionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DisableProtectionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to