ArmCosmosDBModelFactory.ThroughputSettingsResourceInfo 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.
Overloads
ThroughputSettingsResourceInfo(Nullable<Int32>, AutoscaleSettingsResourceInfo, String, String)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.ThroughputSettingsResourceInfo ThroughputSettingsResourceInfo (int? throughput = default, Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo autoscaleSettings = default, string minimumThroughput = default, string offerReplacePending = default);
static member ThroughputSettingsResourceInfo : Nullable<int> * Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo * string * string -> Azure.ResourceManager.CosmosDB.Models.ThroughputSettingsResourceInfo
Public Shared Function ThroughputSettingsResourceInfo (Optional throughput As Nullable(Of Integer) = Nothing, Optional autoscaleSettings As AutoscaleSettingsResourceInfo = Nothing, Optional minimumThroughput As String = Nothing, Optional offerReplacePending As String = Nothing) As ThroughputSettingsResourceInfo
Parameters
- autoscaleSettings
- AutoscaleSettingsResourceInfo
- minimumThroughput
- String
- offerReplacePending
- String
Returns
Applies to
ThroughputSettingsResourceInfo(Nullable<Int32>, AutoscaleSettingsResourceInfo, String, String, String, String)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of ThroughputSettingsResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.ThroughputSettingsResourceInfo ThroughputSettingsResourceInfo (int? throughput = default, Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo autoscaleSettings = default, string minimumThroughput = default, string offerReplacePending = default, string instantMaximumThroughput = default, string softAllowedMaximumThroughput = default);
static member ThroughputSettingsResourceInfo : Nullable<int> * Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo * string * string * string * string -> Azure.ResourceManager.CosmosDB.Models.ThroughputSettingsResourceInfo
Public Shared Function ThroughputSettingsResourceInfo (Optional throughput As Nullable(Of Integer) = Nothing, Optional autoscaleSettings As AutoscaleSettingsResourceInfo = Nothing, Optional minimumThroughput As String = Nothing, Optional offerReplacePending As String = Nothing, Optional instantMaximumThroughput As String = Nothing, Optional softAllowedMaximumThroughput As String = Nothing) As ThroughputSettingsResourceInfo
Parameters
Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both.
- autoscaleSettings
- AutoscaleSettingsResourceInfo
Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings is required, but not both.
- minimumThroughput
- String
The minimum throughput of the resource.
- offerReplacePending
- String
The throughput replace is pending.
- instantMaximumThroughput
- String
The offer throughput value to instantly scale up without triggering splits.
- softAllowedMaximumThroughput
- String
The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified.
Returns
A new ThroughputSettingsResourceInfo instance for mocking.
Applies to
Azure SDK for .NET