ResourceResponse class

Constructors

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

Properties

activityId
diagnostics
etag
headers
requestCharge
resource
statusCode
substatus

Constructor Details

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

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

Parameters

resource

undefined | TResource

headers

CosmosHeaders_2

statusCode

number

diagnostics
CosmosDiagnostics
substatus

number

Property Details

activityId

string activityId

Property Value

string

diagnostics

diagnostics: CosmosDiagnostics

Property Value

etag

string etag

Property Value

string

headers

headers: CosmosHeaders_2

Property Value

CosmosHeaders_2

requestCharge

number requestCharge

Property Value

number

resource

resource: undefined | TResource

Property Value

undefined | TResource

statusCode

statusCode: number

Property Value

number

substatus

substatus?: number

Property Value

number