Class AutopilotSettingsResource
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Cosmos DB autopilot settings object
public class AutopilotSettingsResource
- Inheritance
-
AutopilotSettingsResource
- Inherited Members
Constructors
AutopilotSettingsResource()
Initializes a new instance of the AutopilotSettingsResource class.
public AutopilotSettingsResource()
AutopilotSettingsResource(int, AutoUpgradePolicyResource, int?)
Initializes a new instance of the AutopilotSettingsResource class.
public AutopilotSettingsResource(int maxThroughput, AutoUpgradePolicyResource autoUpgradePolicy = null, int? targetMaxThroughput = null)
Parameters
maxThroughput
intRepresents max throughput an autopilot container can operate at.
autoUpgradePolicy
AutoUpgradePolicyResourceCosmos DB resource auto-upgrade policy
targetMaxThroughput
int?Represents target max throughput an autopilot container should operate at once offer is no longer in pending state.
Properties
AutoUpgradePolicy
Gets or sets cosmos DB resource auto-upgrade policy
public AutoUpgradePolicyResource AutoUpgradePolicy { get; set; }
Property Value
MaxThroughput
Gets or sets represents max throughput an autopilot container can operate at.
public int MaxThroughput { get; set; }
Property Value
TargetMaxThroughput
Gets represents target max throughput an autopilot container should operate at once offer is no longer in pending state.
public int? TargetMaxThroughput { get; }
Property Value
- int?
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails