Table of Contents

Interface IWithWriteReplication

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of the cosmos db definition allowing the definition of a write location.

public interface IWithWriteReplication

Methods

WithDefaultWriteReplication()

Sets the write location same as the CosmosDB account location.

IWithReadLocations WithDefaultWriteReplication()

Returns

IWithReadLocations

WithWriteReplication(Region, bool?)

Sets a write location for the CosmosDB account.

IWithReadLocations WithWriteReplication(Region region, bool? isZoneRedundant = null)

Parameters

region Region

The region for the location.

isZoneRedundant bool?

Flag to indicate whether or not this region is an AvailabilityZone region.

Returns

IWithReadLocations