ContainerBuilder.CreateAsync(Nullable<Int32>) Method
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.
Creates a container with the current fluent definition.
public System.Threading.Tasks.Task<Azure.Cosmos.ContainerResponse> CreateAsync (int? throughput = default);
member this.CreateAsync : Nullable<int> -> System.Threading.Tasks.Task<Azure.Cosmos.ContainerResponse>
Public Function CreateAsync (Optional throughput As Nullable(Of Integer) = Nothing) As Task(Of ContainerResponse)
Parameters
Desired throughput for the container expressed in Request Units per second.
Returns
An asynchronous Task representing the creation of a CosmosContainer based on the Fluent definition.
Remarks
https://docs.microsoft.com/azure/cosmos-db/request-units for details on provision throughput.