PartitionMoveCostDescription 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.
Constructor for PartitionMoveCostDescription, where at least one replica's move cost value should be provided.
public PartitionMoveCostDescription (Guid partitionId, System.Fabric.MoveCost? primaryReplicaMoveCostEntry, System.Fabric.MoveCost? secondaryReplicasOrInstancesMoveCostEntry, System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> secondaryReplicaOrInstanceMoveCostEntriesPerNode, System.Fabric.MoveCost? auxiliaryReplicasMoveCostEntry = default, System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> auxiliaryReplicaMoveCostEntriesPerNode = default);
new System.Fabric.Description.PartitionMoveCostDescription : Guid * Nullable<System.Fabric.MoveCost> * Nullable<System.Fabric.MoveCost> * System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> * Nullable<System.Fabric.MoveCost> * System.Collections.Generic.IList<System.Fabric.Description.ReplicaMoveCostDescription> -> System.Fabric.Description.PartitionMoveCostDescription
Public Sub New (partitionId As Guid, primaryReplicaMoveCostEntry As Nullable(Of MoveCost), secondaryReplicasOrInstancesMoveCostEntry As Nullable(Of MoveCost), secondaryReplicaOrInstanceMoveCostEntriesPerNode As IList(Of ReplicaMoveCostDescription), Optional auxiliaryReplicasMoveCostEntry As Nullable(Of MoveCost) = Nothing, Optional auxiliaryReplicaMoveCostEntriesPerNode As IList(Of ReplicaMoveCostDescription) = Nothing)
Parameters
- partitionId
- Guid
Partition ID
Move cost entry for all secondary replicas or instances, can be empty.
- secondaryReplicaOrInstanceMoveCostEntriesPerNode
- IList<ReplicaMoveCostDescription>
Move cost entries for specific secondary replica or instance, can be empty.
Move cost entry for all auxiliary replicas or instances, can be empty.
- auxiliaryReplicaMoveCostEntriesPerNode
- IList<ReplicaMoveCostDescription>
List of move cost entries for specific auxiliary replica or instance, can be empty.
Applies to
Azure SDK for .NET