Table of Contents

Interface IWithReadLocations

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 read location.

public interface IWithReadLocations : IAppliable<ICosmosDBAccount>, IIndexable

Methods

WithReadReplication(Region, bool?)

Sets a read location for the CosmosDB account.

IWithReadLocations WithReadReplication(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

WithoutAllReplications()

Removes all replications for the CosmosDB account.

IWithWriteReplication WithoutAllReplications()

Returns

IWithWriteReplication

The next stage.

WithoutReadReplication(Region)

Removes a read location for the CosmosDB account.

IWithReadLocations WithoutReadReplication(Region region)

Parameters

region Region

The region for the location.

Returns

IWithReadLocations