Dela via


StatefulServiceUpdateProperties Class

Definition

The properties of a stateful service resource for patch operations.

[Newtonsoft.Json.JsonObject("Stateful")]
public class StatefulServiceUpdateProperties : Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdateProperties
[<Newtonsoft.Json.JsonObject("Stateful")>]
type StatefulServiceUpdateProperties = class
    inherit ServiceResourceUpdateProperties
Public Class StatefulServiceUpdateProperties
Inherits ServiceResourceUpdateProperties
Inheritance
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

CorrelationScheme

Gets or sets a list that describes the correlation of the service with other services.

(Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Gets or sets specifies the move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'

(Inherited from ServiceResourcePropertiesBase)
MinReplicaSetSize

Gets or sets the minimum replica set size as a number.

PlacementConstraints

Gets or sets 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)".

(Inherited from ServiceResourcePropertiesBase)
QuorumLossWaitDuration

Gets or sets 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).

ReplicaRestartWaitDuration

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

ServiceLoadMetrics

Gets or sets the service load metrics is given as an array of ServiceLoadMetricDescription objects.

(Inherited from ServiceResourcePropertiesBase)
ServicePlacementPolicies

Gets or sets a list that describes the correlation of the service with other services.

(Inherited from ServiceResourcePropertiesBase)
StandByReplicaKeepDuration

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

TargetReplicaSetSize

Gets or sets the target replica set size as a number.

Methods

Validate()

Validate the object.

Applies to