Udostępnij za pośrednictwem


CosmosDBAccountCreateOrUpdateContent Constructor

Definition

Initializes a new instance of CosmosDBAccountCreateOrUpdateContent.

public CosmosDBAccountCreateOrUpdateContent (Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> locations);
new Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent : Azure.Core.AzureLocation * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent
Public Sub New (location As AzureLocation, locations As IEnumerable(Of CosmosDBAccountLocation))

Parameters

location
AzureLocation

The location.

locations
IEnumerable<CosmosDBAccountLocation>

An array that contains the georeplication locations enabled for the Cosmos DB account.

Exceptions

locations is null.

Applies to