Share via


IResourceResponse<TResource> Interface

Definition

Interface exposed for mocking purposes for the Azure Cosmos DB service.

public interface IResourceResponse<TResource> : Microsoft.Azure.Documents.Client.IResourceResponseBase where TResource : Resource, new()
type IResourceResponse<'Resource (requires 'Resource :> Resource and 'Resource : (new : unit -> 'Resource))> = interface
    interface IResourceResponseBase
Public Interface IResourceResponse(Of TResource)
Implements IResourceResponseBase

Type Parameters

TResource

The resource type.

Derived
Implements

Properties

ActivityId

Gets the activity ID for the request.

(Inherited from IResourceResponseBase)
CollectionQuota

Gets the maximum quota for collection resources within an account.

(Inherited from IResourceResponseBase)
CollectionSizeQuota

Maximum size of a collection in kilobytes.

(Inherited from IResourceResponseBase)
CollectionSizeUsage

Current size of a collection in kilobytes.

(Inherited from IResourceResponseBase)
CollectionUsage

The current number of collection resources within the account.

(Inherited from IResourceResponseBase)
ContentLocation

The content parent location, for example, dbs/foo/colls/bar

(Inherited from IResourceResponseBase)
CurrentResourceQuotaUsage

Gets the current size of this entity.

(Inherited from IResourceResponseBase)
DatabaseQuota

Gets the maximum quota for database resources within the account.

(Inherited from IResourceResponseBase)
DatabaseUsage

The current number of database resources within the account.

(Inherited from IResourceResponseBase)
DocumentQuota

Maximum size of a documents within a collection in kilobytes.

(Inherited from IResourceResponseBase)
DocumentUsage

Current size of documents within a collection in kilobytes.

(Inherited from IResourceResponseBase)
IndexTransformationProgress

Gets the progress of an index transformation, if one is underway.

(Inherited from IResourceResponseBase)
LazyIndexingProgress

Gets the progress of lazy indexing.

(Inherited from IResourceResponseBase)
MaxResourceQuota

Gets the maximum size limit for this entity.

(Inherited from IResourceResponseBase)
PermissionQuota

Gets the maximum quota for permission resources within an account.

(Inherited from IResourceResponseBase)
PermissionUsage

The current number of permission resources within the account.

(Inherited from IResourceResponseBase)
RequestCharge

Gets the request charge for this request.

(Inherited from IResourceResponseBase)
Resource

Gets the resource returned in the response.

ResponseHeaders

Gets the response headers.

(Inherited from IResourceResponseBase)
ResponseStream

Gets the underlying stream of the response.

(Inherited from IResourceResponseBase)
SessionToken

Gets the session token for use in sesssion consistency reads.

(Inherited from IResourceResponseBase)
StatusCode

Gets the HTTP status code associated with the response.

(Inherited from IResourceResponseBase)
StoredProceduresQuota

Gets the maximum quota of stored procedures for a collection.

(Inherited from IResourceResponseBase)
StoredProceduresUsage

The current number of stored procedures for a collection.

(Inherited from IResourceResponseBase)
TriggersQuota

Gets the maximum quota of triggers for a collection.

(Inherited from IResourceResponseBase)
TriggersUsage

The current number of triggers for a collection.

(Inherited from IResourceResponseBase)
UserDefinedFunctionsQuota

Gets the maximum quota of user defined functions for a collection.

(Inherited from IResourceResponseBase)
UserDefinedFunctionsUsage

The current number of user defined functions for a collection.

(Inherited from IResourceResponseBase)
UserQuota

Gets the maximum quota for user resources within an account.

(Inherited from IResourceResponseBase)
UserUsage

The current number of user resources within the account.

(Inherited from IResourceResponseBase)

Applies to