共用方式為


ResourceResponse class

建構函式

ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)

屬性

activityId
diagnostics
etag
headers
requestCharge
resource
statusCode
substatus

建構函式詳細資料

ResourceResponse<TResource>(undefined | TResource, CosmosHeaders_2, number, CosmosDiagnostics, number)

new ResourceResponse(resource: undefined | TResource, headers: CosmosHeaders_2, statusCode: number, diagnostics: CosmosDiagnostics, substatus?: number)

參數

resource

undefined | TResource

headers

CosmosHeaders_2

statusCode

number

diagnostics
CosmosDiagnostics
substatus

number

屬性詳細資料

activityId

string activityId

屬性值

string

diagnostics

diagnostics: CosmosDiagnostics

屬性值

etag

string etag

屬性值

string

headers

headers: CosmosHeaders_2

屬性值

CosmosHeaders_2

requestCharge

number requestCharge

屬性值

number

resource

resource: undefined | TResource

屬性值

undefined | TResource

statusCode

statusCode: number

屬性值

number

substatus

substatus?: number

屬性值

number