Table of Contents

Class SqlDatabaseResource

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

Cosmos DB SQL database resource object

public class SqlDatabaseResource
Inheritance
SqlDatabaseResource
Inherited Members

Constructors

SqlDatabaseResource()

Initializes a new instance of the SqlDatabaseResource class.

public SqlDatabaseResource()

SqlDatabaseResource(string)

Initializes a new instance of the SqlDatabaseResource class.

public SqlDatabaseResource(string id)

Parameters

id string

Name of the Cosmos DB SQL database

Properties

Id

Gets or sets name of the Cosmos DB SQL 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