Dela via


CosmosDBLocationProperties Class

Definition

Cosmos DB location metadata.

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

Constructors

CosmosDBLocationProperties()

Initializes a new instance of CosmosDBLocationProperties.

Properties

BackupStorageRedundancies

The properties of available backup storage redundancies.

DoesSupportAvailabilityZone

Flag indicating whether the location supports availability zones or not.

IsResidencyRestricted

Flag indicating whether the location is residency sensitive.

IsSubscriptionRegionAccessAllowedForAz

Flag indicating whether the subscription have access in region for Availability Zones(Az).

IsSubscriptionRegionAccessAllowedForRegular

Flag indicating whether the subscription have access in region for Non-Availability Zones.

Status

Enum to indicate current buildout status of the region.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBLocationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBLocationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBLocationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBLocationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBLocationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to