Share via


ICosmosDBAccount.OfflineRegionAsync(Region, CancellationToken) Method

Definition

Asynchronously it takes offline the specified region for the current Azure Cosmos DB database account.

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

Parameters

region
Region

Cosmos DB region.

cancellationToken
CancellationToken

Returns

Applies to