RedistributeThroughputPropertiesResource Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET