共用方式為


AutoscaleSettingsResource Constructors

Definition

Overloads

AutoscaleSettingsResource()

Initializes a new instance of the AutoscaleSettingsResource class.

AutoscaleSettingsResource(Int32, AutoUpgradePolicyResource, Nullable<Int32>)

Initializes a new instance of the AutoscaleSettingsResource class.

AutoscaleSettingsResource()

Initializes a new instance of the AutoscaleSettingsResource class.

public AutoscaleSettingsResource ();
Public Sub New ()

Applies to

AutoscaleSettingsResource(Int32, AutoUpgradePolicyResource, Nullable<Int32>)

Initializes a new instance of the AutoscaleSettingsResource class.

public AutoscaleSettingsResource (int maxThroughput, Microsoft.Azure.Management.CosmosDB.Models.AutoUpgradePolicyResource autoUpgradePolicy = default, int? targetMaxThroughput = default);
new Microsoft.Azure.Management.CosmosDB.Models.AutoscaleSettingsResource : int * Microsoft.Azure.Management.CosmosDB.Models.AutoUpgradePolicyResource * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Models.AutoscaleSettingsResource
Public Sub New (maxThroughput As Integer, Optional autoUpgradePolicy As AutoUpgradePolicyResource = Nothing, Optional targetMaxThroughput As Nullable(Of Integer) = Nothing)

Parameters

maxThroughput
Int32

Represents maximum throughput container can scale up to.

autoUpgradePolicy
AutoUpgradePolicyResource

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.

Applies to