Class ThroughputSettingsResource
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Cosmos DB resource throughput object. Either throughput is required or autopilotSettings is required, but not both.
public class ThroughputSettingsResource
- Inheritance
-
ThroughputSettingsResource
- Inherited Members
Constructors
ThroughputSettingsResource()
Initializes a new instance of the ThroughputSettingsResource class.
public ThroughputSettingsResource()
ThroughputSettingsResource(int?, AutopilotSettingsResource, string, string)
Initializes a new instance of the ThroughputSettingsResource class.
public ThroughputSettingsResource(int? throughput = null, AutopilotSettingsResource autopilotSettings = null, string minimumThroughput = null, string offerReplacePending = null)
Parameters
throughput
int?Value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
autopilotSettings
AutopilotSettingsResourceCosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
minimumThroughput
stringThe minimum throughput of the resource
offerReplacePending
stringThe throughput replace is pending
Properties
AutopilotSettings
Gets or sets cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.
public AutopilotSettingsResource AutopilotSettings { get; set; }
Property Value
MinimumThroughput
Gets the minimum throughput of the resource
public string MinimumThroughput { get; }
Property Value
OfferReplacePending
Gets the throughput replace is pending
public string OfferReplacePending { get; }
Property Value
Throughput
Gets or sets value of the Cosmos DB resource throughput. Either throughput is required or autopilotSettings is required, but not both.
public int? Throughput { get; set; }
Property Value
- int?
Methods
Validate()
Validate the object.
public virtual void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails