次の方法で共有


RequestOptions.OfferType プロパティ

定義

Azure Cosmos DB サービス内のリソースのオファーの種類を取得または設定します。

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

プロパティ値

オファーの種類の値。

次の例は、S2 オファーを使用してコレクションを作成する方法を示しています。

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

注釈

このオプションは、ドキュメント コレクションを作成する場合にのみ有効です。

http://azure.microsoft.comdocumentation/articles/documentdb-performance-levels/有効なオファーの種類の一覧については、 を参照してください。

適用対象

こちらもご覧ください