Table of Contents

Class ThroughputSettingsResource

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
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 AutopilotSettingsResource

Cosmos DB resource for Autopilot settings. Either throughput is required or autopilotSettings is required, but not both.

minimumThroughput string

The minimum throughput of the resource

offerReplacePending string

The 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

AutopilotSettingsResource

MinimumThroughput

Gets the minimum throughput of the resource

public string MinimumThroughput { get; }

Property Value

string

OfferReplacePending

Gets the throughput replace is pending

public string OfferReplacePending { get; }

Property Value

string

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