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..

HasValue

Gets a value indicating whether the current instance has a valid value of its underlying type.

(Inherited from NullableResponse<T>)
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.

ToString()

Returns a string that represents the current object.

(Inherited from NullableResponse<T>)

Operators

Implicit(ContainerResponse to CosmosContainer)

Get CosmosContainer implicitly from ContainerResponse

Applies to