Share via


ExistingProtectionProfile Class

Definition

Existing storage account input.

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

Constructors

ExistingProtectionProfile(String)

Initializes a new instance of ExistingProtectionProfile.

Properties

ProtectionProfileId

The protection profile Arm Id. Throw error, if resource does not exists.

Explicit Interface Implementations

IJsonModel<ExistingProtectionProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExistingProtectionProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ProtectionProfileCustomDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ProtectionProfileCustomDetails)
IPersistableModel<ExistingProtectionProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExistingProtectionProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExistingProtectionProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ProtectionProfileCustomDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ProtectionProfileCustomDetails)

Applies to