Table of Contents

Class OfferV2

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

Represents the Standard pricing offer for a resource in the Azure Cosmos DB service.

public sealed class OfferV2 : Offer
Inheritance
OfferV2
Inherited Members
Extension Methods

Remarks

Currently, offers are only bound to the collection resource.

Constructors

OfferV2(Offer, int)

Initializes a Resource offer with the Standard pricing tier, from a reference Offer object for the Azure Cosmos DB service.

public OfferV2(Offer offer, int offerThroughput)

Parameters

offer Offer
offerThroughput int

OfferV2(Offer, int, bool?)

Initializes a Resource offer with the Standard pricing tier, from a reference Offer object for the Azure Cosmos DB service.

public OfferV2(Offer offer, int offerThroughput, bool? offerEnableRUPerMinuteThroughput)

Parameters

offer Offer
offerThroughput int
offerEnableRUPerMinuteThroughput bool?

OfferV2(int)

Initializes a Resource offer with the Standard pricing tier for the Azure Cosmos DB service.

public OfferV2(int offerThroughput)

Parameters

offerThroughput int

OfferV2(int, bool?)

Initializes a Resource offer with the Standard pricing tier for the Azure Cosmos DB service.

public OfferV2(int offerThroughput, bool? offerEnableRUPerMinuteThroughput)

Parameters

offerThroughput int
offerEnableRUPerMinuteThroughput bool?

Properties

Content

Gets or sets the OfferContent for the resource offer in the Azure Cosmos DB service.

public OfferContentV2 Content { get; }

Property Value

OfferContentV2

Methods

Equals(OfferV2)

Compares the offer object with the current offer

public bool Equals(OfferV2 offer)

Parameters

offer OfferV2

Returns

bool

Boolean representing the equality result