Udostępnij za pośrednictwem


SwitchProtectionContent Class

Definition

Switch protection input.

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

Constructors

SwitchProtectionContent()

Initializes a new instance of SwitchProtectionContent.

Properties

Properties

Switch protection properties.

Explicit Interface Implementations

IJsonModel<SwitchProtectionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SwitchProtectionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SwitchProtectionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SwitchProtectionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SwitchProtectionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to