Delen via


SiteRecoveryOSVersionWrapper Class

Definition

Wrapper model for OSVersion to include version and service pack info.

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

Properties

ServicePack

The service pack.

Version

The version.

Explicit Interface Implementations

IJsonModel<SiteRecoveryOSVersionWrapper>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryOSVersionWrapper>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryOSVersionWrapper>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryOSVersionWrapper>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryOSVersionWrapper>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to