Table of Contents

Class ThroughputResponse

Namespace
Microsoft.Azure.Cosmos
Assembly
Microsoft.Azure.Cosmos.Client.dll

The cosmos throughput response

public class ThroughputResponse : Response<ThroughputProperties>
Inheritance
ThroughputResponse
Inherited Members
Extension Methods

Constructors

ThroughputResponse()

Create a ThroughputResponse as a no-op for mock testing

protected ThroughputResponse()

Properties

ActivityId

public override string ActivityId { get; }

Property Value

string

Diagnostics

public override CosmosDiagnostics Diagnostics { get; }

Property Value

CosmosDiagnostics

ETag

public override string ETag { get; }

Property Value

string

Headers

public override Headers Headers { get; }

Property Value

Headers

IsReplacePending

Gets the status whether offer replace is successful or pending.

public bool? IsReplacePending { get; }

Property Value

bool?

MinThroughput

Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.

public int? MinThroughput { get; }

Property Value

int?

RequestCharge

public override double RequestCharge { get; }

Property Value

double

Resource

public override ThroughputProperties Resource { get; }

Property Value

ThroughputProperties

StatusCode

public override HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode

Operators

implicit operator ThroughputProperties(ThroughputResponse)

public static implicit operator ThroughputProperties(ThroughputResponse response)

Parameters

response ThroughputResponse

Throughput response

Returns

ThroughputProperties