MongoDBCollectionCreateOrUpdateContent Constructor
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.
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.