Partilhar via


CosmosDBAccount.DefinitionStages.WithMultipleLocations Interface

public static interface CosmosDBAccount.DefinitionStages.WithMultipleLocations

The stage of the cosmos db definition allowing to specify whether multiple write locations will be enabled.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withMultipleWriteLocationsEnabled(boolean enabled)

Specifies whether multiple write locations are enabled for this cosmos db account.

Method Details

withMultipleWriteLocationsEnabled

public abstract CosmosDBAccount.DefinitionStages.WithCreate withMultipleWriteLocationsEnabled(boolean enabled)

Specifies whether multiple write locations are enabled for this cosmos db account.

Parameters:

enabled - whether multiple write locations are enabled or not.

Returns:

the next stage

Applies to