DatabaseResponse class

Response object for Database operations

Extends

Constructors

DatabaseResponse(DatabaseDefinition & Resource, CosmosHeaders, number, Database, CosmosDiagnostics)

Properties

activityId
database

A reference to the Database that the returned DatabaseDefinition corresponds to.

etag
requestCharge

Inherited Properties

diagnostics
headers
resource
statusCode
substatus

Constructor Details

DatabaseResponse(DatabaseDefinition & Resource, CosmosHeaders, number, Database, CosmosDiagnostics)

new DatabaseResponse(resource: DatabaseDefinition & Resource, headers: CosmosHeaders, statusCode: number, database: Database, diagnostics: CosmosDiagnostics)

Parameters

headers
CosmosHeaders
statusCode

number

database
Database
diagnostics
CosmosDiagnostics

Property Details

activityId

string activityId

Property Value

string

database

A reference to the Database that the returned DatabaseDefinition corresponds to.

database: Database

Property Value

etag

string etag

Property Value

string

requestCharge

number requestCharge

Property Value

number

Inherited Property Details

diagnostics

diagnostics: CosmosDiagnostics

Property Value

Inherited From ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

Property Value

CosmosHeaders_2

Inherited From ResourceResponse.headers

resource

resource: undefined | (DatabaseDefinition & Resource)

Property Value

undefined | (DatabaseDefinition & Resource)

Inherited From ResourceResponse.resource

statusCode

statusCode: number

Property Value

number

Inherited From ResourceResponse.statusCode

substatus

substatus?: number

Property Value

number

Inherited From ResourceResponse.substatus