다음을 통해 공유


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