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

ContainerResponse()

Create a ContainerResponse as a no-op for mock testing

Properties

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

GetRawResponse()

Returns the HTTP response returned by the service.

Operators

Implicit(ContainerResponse to CosmosContainer)

Get CosmosContainer implicitly from ContainerResponse

Applies to