FeedResponse<T> Class

Definition

Represents the template class used by feed methods (enumeration operations) for the Azure Cosmos DB service.

public class FeedResponse<T> : Microsoft.Azure.Documents.Client.IFeedResponse<T>, System.Collections.Generic.IEnumerable<T>, System.Dynamic.IDynamicMetaObjectProvider
type FeedResponse<'T> = class
    interface seq<'T>
    interface IEnumerable
    interface IDynamicMetaObjectProvider
    interface IFeedResponse<'T>
Public Class FeedResponse(Of T)
Implements IDynamicMetaObjectProvider, IEnumerable(Of T), IFeedResponse(Of T)

Type Parameters

T

The feed type.

Inheritance
FeedResponse<T>
Implements

Constructors

FeedResponse<T>()

Constructor exposed for mocking purposes.

FeedResponse<T>(IEnumerable<T>)

Constructor exposed for mocking purposes.

Properties

ActivityId

Gets the activity ID for the request from the Azure Cosmos DB service.

CollectionQuota

Gets the maximum quota for collection resources within an account from the Azure Cosmos DB service.

CollectionSizeQuota

Gets the maximum size of a collection in kilobytes from the Azure Cosmos DB service.

CollectionSizeUsage

Gets the current size of a collection in kilobytes from the Azure Cosmos DB service.

CollectionUsage

Gets the current number of collection resources within the account from the Azure Cosmos DB service.

ContentLocation

Gets the content parent location, for example, dbs/foo/colls/bar, from the Azure Cosmos DB service.

Count

Gets the number of items returned in the response from the Azure Cosmos DB service.

CurrentResourceQuotaUsage

Gets the current size of this entity from the Azure Cosmos DB service.

DatabaseQuota

Gets the maximum quota for database resources within the account from the Azure Cosmos DB service.

DatabaseUsage

Gets the current number of database resources within the account from the Azure Cosmos DB service.

ETag

Gets the entity tag associated with last transaction in the Azure Cosmos DB service, which can be used as If-Non-Match Access condition for ReadFeed REST request or ContinuationToken property of ChangeFeedOptions parameter for CreateDocumentChangeFeedQuery(String, ChangeFeedOptions) to get feed changes since the transaction specified by this entity tag.

IsRUPerMinuteUsed

Gets the flag associated with the response from the Azure Cosmos DB service whether this feed request is served from Request Units(RUs)/minute capacity or not.

MaxResourceQuota

Gets the maximum size limit for this entity from the Azure Cosmos DB service.

PermissionQuota

Gets the maximum quota for permission resources within an account from the Azure Cosmos DB service.

PermissionUsage

Gets the current number of permission resources within the account from the Azure Cosmos DB service.

QueryMetrics

Get QueryMetrics for each individual partition in the Azure Cosmos DB service

RequestCharge

Gets the request charge for this request from the Azure Cosmos DB service.

RequestDiagnosticsString

Gets a dump for troubleshooting the request.

ResponseContinuation

Gets the continuation token to be used for continuing enumeration of the Azure Cosmos DB service.

ResponseHeaders

Gets the response headers from the Azure Cosmos DB service.

SessionToken

Gets the session token for use in sesssion consistency reads from the Azure Cosmos DB service.

StoredProceduresQuota

Gets the maximum quota of stored procedures for a collection from the Azure Cosmos DB service.

StoredProceduresUsage

Gets the current number of stored procedures for a collection from the Azure Cosmos DB service.

TriggersQuota

Gets the maximum quota of triggers for a collection from the Azure Cosmos DB service.

TriggersUsage

Get the current number of triggers for a collection from the Azure Cosmos DB service.

UserDefinedFunctionsQuota

Gets the maximum quota of user defined functions for a collection from the Azure Cosmos DB service.

UserDefinedFunctionsUsage

Gets the current number of user defined functions for a collection from the Azure Cosmos DB service.

UserQuota

Gets the maximum quota for user resources within an account from the Azure Cosmos DB service.

UserUsage

Gets the current number of user resources within the account from the Azure Cosmos DB service.

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection from the Azure Cosmos DB service.

Explicit Interface Implementations

IDynamicMetaObjectProvider.GetMetaObject(Expression)
IEnumerable.GetEnumerator()

Applies to