Share via


FetchTieringCostInfoContent Class

Definition

Base class for tiering cost request. Specific cost request types are derived from this class. Please note FetchTieringCostInfoContent 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 FetchTieringCostInfoForRehydrationContent, FetchTieringCostSavingsInfoForPolicyContent, FetchTieringCostSavingsInfoForProtectedItemContent and FetchTieringCostSavingsInfoForVaultContent.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownFetchTieringCostInfoRequest))]
public abstract class FetchTieringCostInfoContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FetchTieringCostInfoContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.FetchTieringCostInfoContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesBackup.Models.UnknownFetchTieringCostInfoRequest))>]
type FetchTieringCostInfoContent = class
    interface IJsonModel<FetchTieringCostInfoContent>
    interface IPersistableModel<FetchTieringCostInfoContent>
Public MustInherit Class FetchTieringCostInfoContent
Implements IJsonModel(Of FetchTieringCostInfoContent), IPersistableModel(Of FetchTieringCostInfoContent)
Inheritance
FetchTieringCostInfoContent
Derived
Attributes
Implements

Constructors

FetchTieringCostInfoContent(RecoveryPointTierType, RecoveryPointTierType)

Initializes a new instance of FetchTieringCostInfoContent.

Properties

SourceTierType

Source tier for the request.

TargetTierType

target tier for the request.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FetchTieringCostInfoContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FetchTieringCostInfoContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FetchTieringCostInfoContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FetchTieringCostInfoContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FetchTieringCostInfoContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to