DatabaseResponse class

Response object for Database operations

Extends

Constructors

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

Properties

activityId
database

A reference to the <xref:Database> that the returned <xref:DatabaseDefinition> corresponds to.

etag
headers
requestCharge
resource
statusCode
substatus

Constructor Details

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

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

Parameters

headers
CosmosHeaders
statusCode

number

database
Database

Property Details

activityId

string activityId

Property Value

string

database

A reference to the <xref:Database> that the returned <xref:DatabaseDefinition> corresponds to.

database: Database

Property Value

etag

string etag

Property Value

string

headers

headers: CosmosHeaders_2

Property Value

requestCharge

number requestCharge

Property Value

number

resource

resource: DatabaseDefinition & Resource | undefined

Property Value

statusCode

statusCode: StatusCode

Property Value

StatusCode

substatus

substatus?: SubStatusCode

Property Value