DatabaseResponse class

Response object for Database operations

Extends
Resource>

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

activityId: string

Property Value

string

database

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

database: Database

Property Value

etag

etag: string

Property Value

string

headers

headers: CosmosHeaders_2

Property Value

requestCharge

requestCharge: number

Property Value

number

resource

resource: DatabaseDefinition & Resource

Property Value

statusCode

statusCode: StatusCode

Property Value

StatusCode

substatus

substatus?: SubStatusCode

Property Value