Share via


ArmCosmosDBModelFactory.AutoscaleSettingsResourceInfo Method

Definition

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.

targetMaxThroughput
Nullable<Int32>

Represents target maximum throughput container can scale up to once offer is no longer in pending state.

Returns

A new AutoscaleSettingsResourceInfo instance for mocking.

Applies to