다음을 통해 공유


DatabaseAccountsOperationsExtensions.OnlineRegion Method

Definition

Online the specified region for the specified Azure Cosmos DB database account.

public static void OnlineRegion (this Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.CosmosDB.Models.RegionForOnlineOffline regionParameterForOnline);
static member OnlineRegion : Microsoft.Azure.Management.CosmosDB.IDatabaseAccountsOperations * string * string * Microsoft.Azure.Management.CosmosDB.Models.RegionForOnlineOffline -> unit
<Extension()>
Public Sub OnlineRegion (operations As IDatabaseAccountsOperations, resourceGroupName As String, accountName As String, regionParameterForOnline As RegionForOnlineOffline)

Parameters

operations
IDatabaseAccountsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

Cosmos DB database account name.

regionParameterForOnline
RegionForOnlineOffline

Cosmos DB region to online for the database account.

Applies to