Share via


IWithWriteReplication.WithWriteReplication Method

Definition

Sets a write location for the CosmosDB account.

public Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithWriteReplication (region As Region, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing) As IWithCreate

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