Compartir a través de


RequestOptions.OfferThroughput Propiedad

Definición

Obtiene o establece el rendimiento de la oferta aprovisionado para una colección en medida de Requests-per-Unit en el servicio Azure Cosmos DB.

public int? OfferThroughput { get; set; }
member this.OfferThroughput : Nullable<int> with get, set
Public Property OfferThroughput As Nullable(Of Integer)

Valor de propiedad

Objeto throughtput aprovisionado para esta oferta.

Ejemplos

En el ejemplo siguiente se muestra cómo crear una colección con offer throughtput.

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

Comentarios

Esta opción solo es válida al crear una colección de documentos.

Consulte para más información sobre el rendimiento de la oferta de aprovisionamiento http://azure.microsoft.com/documentation/articles/documentdb-performance-levels/ .

Se aplica a

Consulte también