ArmCosmosDBModelFactory.AutoscaleSettingsResourceInfo 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.
Initializes a new instance of AutoscaleSettingsResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo AutoscaleSettingsResourceInfo (int maxThroughput = 0, Azure.ResourceManager.CosmosDB.Models.ThroughputPolicyResourceInfo autoUpgradeThroughputPolicy = default, int? targetMaxThroughput = default);
static member AutoscaleSettingsResourceInfo : int * Azure.ResourceManager.CosmosDB.Models.ThroughputPolicyResourceInfo * Nullable<int> -> Azure.ResourceManager.CosmosDB.Models.AutoscaleSettingsResourceInfo
Public Shared Function AutoscaleSettingsResourceInfo (Optional maxThroughput As Integer = 0, Optional autoUpgradeThroughputPolicy As ThroughputPolicyResourceInfo = Nothing, Optional targetMaxThroughput As Nullable(Of Integer) = Nothing) As AutoscaleSettingsResourceInfo
Parameters
- maxThroughput
- Int32
Represents maximum throughput container can scale up to.
- autoUpgradeThroughputPolicy
- ThroughputPolicyResourceInfo
Cosmos DB resource auto-upgrade policy.
Represents target maximum throughput container can scale up to once offer is no longer in pending state.
Returns
A new AutoscaleSettingsResourceInfo instance for mocking.