ICosmosDBAccount.OnlineRegionAsync(Region, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET