Share via


Capacity Constructors

Definition

Overloads

Capacity()

Initializes a new instance of the Capacity class.

Capacity(Nullable<Int32>)

Initializes a new instance of the Capacity class.

Capacity()

Initializes a new instance of the Capacity class.

public Capacity ();
Public Sub New ()

Applies to

Capacity(Nullable<Int32>)

Initializes a new instance of the Capacity class.

public Capacity (int? totalThroughputLimit = default);
new Microsoft.Azure.Management.CosmosDB.Models.Capacity : Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Models.Capacity
Public Sub New (Optional totalThroughputLimit As Nullable(Of Integer) = Nothing)

Parameters

totalThroughputLimit
Nullable<Int32>

The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.

Applies to