Table of Contents

Class MongoDBDatabaseResource

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Cosmos DB MongoDB database resource object

public class MongoDBDatabaseResource
Inheritance
MongoDBDatabaseResource
Inherited Members

Constructors

MongoDBDatabaseResource()

Initializes a new instance of the MongoDBDatabaseResource class.

public MongoDBDatabaseResource()

MongoDBDatabaseResource(string)

Initializes a new instance of the MongoDBDatabaseResource class.

public MongoDBDatabaseResource(string id)

Parameters

id string

Name of the Cosmos DB MongoDB database

Properties

Id

Gets or sets name of the Cosmos DB MongoDB database

public string Id { get; set; }

Property Value

string

Methods

Validate()

Validate the object.

public virtual void Validate()

Exceptions

Microsoft.Rest.ValidationException

Thrown if validation fails