共用方式為


DatabaseResponse class

Database 作業的響應物件

Extends

建構函式

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

屬性

activityId
database

傳回 DatabaseDefinition 對應之 Database 的參考。

etag
requestCharge

繼承的屬性

diagnostics
headers
resource
statusCode
substatus

建構函式詳細資料

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

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

參數

headers
CosmosHeaders
statusCode

number

database
Database
diagnostics
CosmosDiagnostics

屬性詳細資料

activityId

string activityId

屬性值

string

database

傳回 DatabaseDefinition 對應之 Database 的參考。

database: Database

屬性值

etag

string etag

屬性值

string

requestCharge

number requestCharge

屬性值

number

繼承的屬性詳細資料

diagnostics

diagnostics: CosmosDiagnostics

屬性值

繼承自ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

屬性值

CosmosHeaders_2

繼承自ResourceResponse.headers

resource

resource: undefined | (DatabaseDefinition & Resource)

屬性值

undefined | (DatabaseDefinition & Resource)

繼承自ResourceResponse.resource

statusCode

statusCode: number

屬性值

number

繼承自ResourceResponse.statusCode

substatus

substatus?: number

屬性值

number

繼承自ResourceResponse.substatus