Share via


ContainerResponse Class

Definition

The cosmos container response

public class ContainerResponse : Azure.Response<Azure.Cosmos.ContainerProperties>
type ContainerResponse = class
    inherit Response<ContainerProperties>
Public Class ContainerResponse
Inherits Response(Of ContainerProperties)
Inheritance

Constructors

Name Description
ContainerResponse()

Create a ContainerResponse as a no-op for mock testing

Properties

Name Description
Container

The reference to the cosmos container. This allows additional operations on the container or for easy access to other references like Items, StoredProcedures, etc..

Value

Gets the value returned by the service. Accessing this property will throw if HasValue is false.

Methods

Name Description
GetRawResponse()

Returns the HTTP response returned by the service.

Operators

Name Description
Implicit(ContainerResponse to CosmosContainer)

Get CosmosContainer implicitly from ContainerResponse

Applies to