Share via


MongoDBDatabaseCreateOrUpdateContent Constructor

Definition

Initializes a new instance of MongoDBDatabaseCreateOrUpdateContent.

public MongoDBDatabaseCreateOrUpdateContent (Azure.Core.AzureLocation location, Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseResourceInfo resource);
new Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseCreateOrUpdateContent : Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseResourceInfo -> Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseCreateOrUpdateContent
Public Sub New (location As AzureLocation, resource As MongoDBDatabaseResourceInfo)

Parameters

location
AzureLocation

The location.

resource
MongoDBDatabaseResourceInfo

The standard JSON format of a MongoDB database.

Exceptions

resource is null.

Applies to