Table of Contents

Class OfferContentV2

Namespace
Microsoft.Azure.Documents
Assembly
Microsoft.Azure.Documents.Client.dll

Represents content properties tied to the Standard pricing tier for the Azure Cosmos DB service.

public sealed class OfferContentV2 : JsonSerializable
Inheritance
OfferContentV2
Inherited Members
Extension Methods

Constructors

OfferContentV2()

Default constructor.

public OfferContentV2()

Remarks

The OfferContentV2 class represents content properties tied to the Standard pricing tier for the Azure Cosmos DB service.

OfferContentV2(int)

Constructor accepting offer throughput.

public OfferContentV2(int offerThroughput)

Parameters

offerThroughput int

Remarks

The OfferContentV2 class represents content properties tied to the Standard pricing tier for the Azure Cosmos DB service.

OfferContentV2(int, bool?)

Constructor accepting offer throughput, Request Units(RU)/Minute throughput is enabled or disabled and auto scale is enabled or disabled.

public OfferContentV2(int offerThroughput, bool? offerEnableRUPerMinuteThroughput)

Parameters

offerThroughput int
offerEnableRUPerMinuteThroughput bool?

Remarks

The OfferContentV2 class represents content properties tied to the Standard pricing tier for the Azure Cosmos DB service.

Properties

OfferIsRUPerMinuteThroughputEnabled

Represents Request Units(RU)/Minute throughput is enabled/disabled for collection in the Azure Cosmos DB service.

public bool? OfferIsRUPerMinuteThroughputEnabled { get; }

Property Value

bool?

OfferThroughput

Represents customizable throughput chosen by user for his collection in the Azure Cosmos DB service.

public int OfferThroughput { get; }

Property Value

int