StatefulServiceUpdateProperties Constructors

Definition

Overloads

StatefulServiceUpdateProperties()

Initializes a new instance of the StatefulServiceUpdateProperties class.

StatefulServiceUpdateProperties(String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the StatefulServiceUpdateProperties class.

StatefulServiceUpdateProperties()

Initializes a new instance of the StatefulServiceUpdateProperties class.

public StatefulServiceUpdateProperties ();
Public Sub New ()

Applies to

StatefulServiceUpdateProperties(String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)

Initializes a new instance of the StatefulServiceUpdateProperties class.

public StatefulServiceUpdateProperties (string placementConstraints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceCorrelationDescription> correlationScheme = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceLoadMetricDescription> serviceLoadMetrics = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServicePlacementPolicyDescription> servicePlacementPolicies = default, string defaultMoveCost = default, int? targetReplicaSetSize = default, int? minReplicaSetSize = default, DateTime? replicaRestartWaitDuration = default, DateTime? quorumLossWaitDuration = default, DateTime? standByReplicaKeepDuration = default);
new Microsoft.Azure.Management.ServiceFabric.Models.StatefulServiceUpdateProperties : string * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceCorrelationDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServiceLoadMetricDescription> * System.Collections.Generic.IList<Microsoft.Azure.Management.ServiceFabric.Models.ServicePlacementPolicyDescription> * string * Nullable<int> * Nullable<int> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> -> Microsoft.Azure.Management.ServiceFabric.Models.StatefulServiceUpdateProperties
Public Sub New (Optional placementConstraints As String = Nothing, Optional correlationScheme As IList(Of ServiceCorrelationDescription) = Nothing, Optional serviceLoadMetrics As IList(Of ServiceLoadMetricDescription) = Nothing, Optional servicePlacementPolicies As IList(Of ServicePlacementPolicyDescription) = Nothing, Optional defaultMoveCost As String = Nothing, Optional targetReplicaSetSize As Nullable(Of Integer) = Nothing, Optional minReplicaSetSize As Nullable(Of Integer) = Nothing, Optional replicaRestartWaitDuration As Nullable(Of DateTime) = Nothing, Optional quorumLossWaitDuration As Nullable(Of DateTime) = Nothing, Optional standByReplicaKeepDuration As Nullable(Of DateTime) = Nothing)

Parameters

placementConstraints
String

The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".

correlationScheme
IList<ServiceCorrelationDescription>

A list that describes the correlation of the service with other services.

serviceLoadMetrics
IList<ServiceLoadMetricDescription>

The service load metrics is given as an array of ServiceLoadMetricDescription objects.

servicePlacementPolicies
IList<ServicePlacementPolicyDescription>

A list that describes the correlation of the service with other services.

defaultMoveCost
String

Specifies the move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'

targetReplicaSetSize
Nullable<Int32>

The target replica set size as a number.

minReplicaSetSize
Nullable<Int32>

The minimum replica set size as a number.

replicaRestartWaitDuration
Nullable<DateTime>

The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format (hh:mm:ss.s).

quorumLossWaitDuration
Nullable<DateTime>

The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format (hh:mm:ss.s).

standByReplicaKeepDuration
Nullable<DateTime>

The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format (hh:mm:ss.s).

Applies to