Class Offer
Represents the offer for a resource (collection) in the Azure Cosmos DB service.
public class Offer : Resource
- Inheritance
-
Offer
- Derived
- Inherited Members
- Extension Methods
Remarks
Currently, offers are only bound to the collection resource.
Constructors
Offer()
Initializes a Resource offer for the Azure Cosmos DB service.
public Offer()
Offer(Offer)
Initializes a Resource offer from another offer object for the Azure Cosmos DB service.
public Offer(Offer offer)
Parameters
offer
Offer
Properties
OfferType
Gets or sets the OfferType for the resource offer in the Azure Cosmos DB service.
public string OfferType { get; set; }
Property Value
OfferVersion
Gets or sets the version of this offer resource in the Azure Cosmos DB service.
public string OfferVersion { get; }
Property Value
ResourceLink
Gets or sets the self-link of a resource to which the resource offer applies to in the Azure Cosmos DB service.
public string ResourceLink { get; }
Property Value
Methods
Equals(Offer)
Compares the offer object with the current offer
public bool Equals(Offer offer)
Parameters
offer
Offer
Returns
- bool
Boolean representing the equality result