Share via


ICosmosDBAccount.OnlineRegionAsync(Region, CancellationToken) Method

Definition

Asynchronously it brings online the specified region for the current Azure Cosmos DB database account.

public System.Threading.Tasks.Task OnlineRegionAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, System.Threading.CancellationToken cancellationToken = default);
abstract member OnlineRegionAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnlineRegionAsync (region As Region, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

region
Region

Cosmos DB region.

cancellationToken
CancellationToken

Returns

Applies to