Share via


RegionForOnlineOffline Class

Definition

Cosmos DB region to online or offline.

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

Constructors

RegionForOnlineOffline(String)

Initializes a new instance of RegionForOnlineOffline.

Properties

Region

Cosmos DB region, with spaces between words and each word capitalized.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RegionForOnlineOffline>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RegionForOnlineOffline>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RegionForOnlineOffline>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RegionForOnlineOffline>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RegionForOnlineOffline>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to