Share via


ResourceResponse class

Constructors

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

Eigenschappen

activityId
diagnostics
etag
headers
requestCharge
resource
statusCode
substatus

Constructordetails

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

Eigenschapdetails

activityId

string activityId

Waarde van eigenschap

string

diagnostics

diagnostics: CosmosDiagnostics

Waarde van eigenschap

etag

string etag

Waarde van eigenschap

string

headers

headers: CosmosHeaders_2

Waarde van eigenschap

CosmosHeaders_2

requestCharge

number requestCharge

Waarde van eigenschap

number

resource

resource: undefined | TResource

Waarde van eigenschap

undefined | TResource

statusCode

statusCode: number

Waarde van eigenschap

number

substatus

substatus?: number

Waarde van eigenschap

number