RequestOptions.OfferType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Examples
The followng example shows how to create a collection with the S2 offer.
await client.CreateDocumentCollectionAsync(
database.SelfLink,
new DocumentCollection { Id = "newcoll" },
new RequestOptions { OfferType = "S2" });
Remarks
This option is only valid when creating a document collection.
Refer to http://azure.microsoft.comdocumentation/articles/documentdb-performance-levels/ for the list of valid offer types.
Applies to
See also
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET