RequestOptions.OfferType Property


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

public string OfferType { get; set; }
member this.OfferType : string with get, set
Public Property OfferType As String

Property Value

The offer type value.


The followng example shows how to create a collection with the S2 offer.

await client.CreateDocumentCollectionAsync(
    new DocumentCollection { Id = "newcoll" },
    new RequestOptions { OfferType = "S2" });


This option is only valid when creating a document collection.

Refer to for the list of valid offer types.

Applies to

See also