Dela via


ThroughputResponse Class

Definition

The cosmos throughput response

public class ThroughputResponse : Azure.Response<Azure.Cosmos.ThroughputProperties>
type ThroughputResponse = class
    inherit Response<ThroughputProperties>
Public Class ThroughputResponse
Inherits Response(Of ThroughputProperties)
Inheritance

Constructors

ThroughputResponse()

Create a ThroughputResponse as a no-op for mock testing

Properties

HasValue

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

(Inherited from NullableResponse<T>)
IsReplacePending

Gets the status whether offer replace is successful or pending.

MinThroughput

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

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(ThroughputResponse to ThroughputProperties)

Get ThroughputProperties implicitly from ThroughputResponse

Applies to