Class ContainerResponse
The cosmos container response
public class ContainerResponse : Response<ContainerProperties>
- Inheritance
-
ContainerResponse
- Inherited Members
- Extension Methods
Constructors
ContainerResponse()
Create a ContainerResponse as a no-op for mock testing
protected ContainerResponse()
Properties
ActivityId
public override string ActivityId { get; }
Property Value
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..
public virtual Container Container { get; }
Property Value
Diagnostics
public override CosmosDiagnostics Diagnostics { get; }
Property Value
ETag
public override string ETag { get; }
Property Value
Headers
public override Headers Headers { get; }
Property Value
RequestCharge
public override double RequestCharge { get; }
Property Value
Resource
public override ContainerProperties Resource { get; }
Property Value
StatusCode
public override HttpStatusCode StatusCode { get; }
Property Value
Operators
implicit operator Container(ContainerResponse)
Get Container implicitly from ContainerResponse
public static implicit operator Container(ContainerResponse response)
Parameters
response
ContainerResponseContainerResponse