Share via


MongoDBCollectionCreateOrUpdateContent Constructor

Definition

Initializes a new instance of MongoDBCollectionCreateOrUpdateContent.

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

Parameters

location
AzureLocation

The location.

resource
MongoDBCollectionResourceInfo

The standard JSON format of a MongoDB collection.

Exceptions

resource is null.

Applies to