Share via


IWithWriteReplication.WithWriteReplication Method

Definition

Sets a write location for the CosmosDB account.

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithReadLocations WithWriteReplication (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, bool? isZoneRedundant = default);
abstract member WithWriteReplication : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Update.IWithReadLocations
Public Function WithWriteReplication (region As Region, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing) As IWithReadLocations

Parameters

region
Region

The region for the location.

isZoneRedundant
Nullable<Boolean>

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

Returns

Applies to