RedistributeThroughputPropertiesResource Constructor

Definition

Initializes a new instance of RedistributeThroughputPropertiesResource.

public RedistributeThroughputPropertiesResource (Azure.ResourceManager.CosmosDB.Models.ThroughputPolicyType throughputPolicy, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResource> targetPhysicalPartitionThroughputInfo, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResource> sourcePhysicalPartitionThroughputInfo);
new Azure.ResourceManager.CosmosDB.Models.RedistributeThroughputPropertiesResource : Azure.ResourceManager.CosmosDB.Models.ThroughputPolicyType * seq<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResource> * seq<Azure.ResourceManager.CosmosDB.Models.PhysicalPartitionThroughputInfoResource> -> Azure.ResourceManager.CosmosDB.Models.RedistributeThroughputPropertiesResource
Public Sub New (throughputPolicy As ThroughputPolicyType, targetPhysicalPartitionThroughputInfo As IEnumerable(Of PhysicalPartitionThroughputInfoResource), sourcePhysicalPartitionThroughputInfo As IEnumerable(Of PhysicalPartitionThroughputInfoResource))

Parameters

throughputPolicy
ThroughputPolicyType

ThroughputPolicy to apply for throughput redistribution.

targetPhysicalPartitionThroughputInfo
IEnumerable<PhysicalPartitionThroughputInfoResource>

Array of PhysicalPartitionThroughputInfoResource objects.

sourcePhysicalPartitionThroughputInfo
IEnumerable<PhysicalPartitionThroughputInfoResource>

Array of PhysicalPartitionThroughputInfoResource objects.

Exceptions

targetPhysicalPartitionThroughputInfo or sourcePhysicalPartitionThroughputInfo is null.

Applies to