ContainerResponse class

Response object for Container operations

Extends

Constructors

ContainerResponse(ContainerDefinition & Resource, CosmosHeaders, number, Container, CosmosDiagnostics)

Properties

activityId
container

A reference to the Container that the returned ContainerDefinition corresponds to.

etag
requestCharge

Inherited Properties

diagnostics
headers
resource
statusCode
substatus

Constructor Details

ContainerResponse(ContainerDefinition & Resource, CosmosHeaders, number, Container, CosmosDiagnostics)

new ContainerResponse(resource: ContainerDefinition & Resource, headers: CosmosHeaders, statusCode: number, container: Container, diagnostics: CosmosDiagnostics)

Parameters

headers
CosmosHeaders
statusCode

number

container
Container
diagnostics
CosmosDiagnostics

Property Details

activityId

string activityId

Property Value

string

container

A reference to the Container that the returned ContainerDefinition corresponds to.

container: Container

Property Value

etag

string etag

Property Value

string

requestCharge

number requestCharge

Property Value

number

Inherited Property Details

diagnostics

diagnostics: CosmosDiagnostics

Property Value

Inherited From ResourceResponse.diagnostics

headers

headers: CosmosHeaders_2

Property Value

CosmosHeaders_2

Inherited From ResourceResponse.headers

resource

resource: undefined | (ContainerDefinition & Resource)

Property Value

undefined | (ContainerDefinition & Resource)

Inherited From ResourceResponse.resource

statusCode

statusCode: number

Property Value

number

Inherited From ResourceResponse.statusCode

substatus

substatus?: number

Property Value

number

Inherited From ResourceResponse.substatus