Share via


A2ASwitchClusterProtectionContent Class

Definition

A2A specific switch cluster protection input.

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

Constructors

Name Description
A2ASwitchClusterProtectionContent()

Initializes a new instance of A2ASwitchClusterProtectionContent.

Properties

Name Description
PolicyId

The Policy Id.

ProtectedItemsDetail

Gets the protected items detail.

RecoveryContainerId

The recovery container Id.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<A2ASwitchClusterProtectionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<A2ASwitchClusterProtectionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SwitchClusterProtectionProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from SwitchClusterProtectionProviderSpecificContent)
IJsonModel<SwitchClusterProtectionProviderSpecificContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SwitchClusterProtectionProviderSpecificContent)
IPersistableModel<A2ASwitchClusterProtectionContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<A2ASwitchClusterProtectionContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<A2ASwitchClusterProtectionContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SwitchClusterProtectionProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SwitchClusterProtectionProviderSpecificContent)
IPersistableModel<SwitchClusterProtectionProviderSpecificContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from SwitchClusterProtectionProviderSpecificContent)
IPersistableModel<SwitchClusterProtectionProviderSpecificContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SwitchClusterProtectionProviderSpecificContent)

Applies to