你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StatefulServiceUpdateProperties 类

定义

修补程序操作的有状态服务资源的属性。

[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
继承
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

StatefulServiceUpdateProperties()

初始化 StatefulServiceUpdateProperties 类的新实例。

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

初始化 StatefulServiceUpdateProperties 类的新实例。

属性

CorrelationScheme

获取或设置一个列表,该列表描述服务与其他服务的相关性。

(继承自 ServiceResourcePropertiesBase)
DefaultMoveCost

获取或设置指定服务的移动成本。 可能的值包括:“Zero”、“Low”、“Medium”、“High”

(继承自 ServiceResourcePropertiesBase)
MinReplicaSetSize

获取或设置以数字表示的最小副本 (replica) 集大小。

PlacementConstraints

获取或设置字符串形式的放置约束。 放置约束是节点属性中的布尔表达式,用于根据服务要求将服务限制到特定的节点。 例如,若要在 NodeType 为蓝色的节点上放置服务,请指定以下内容:“NodeColor == blue) ”。

(继承自 ServiceResourcePropertiesBase)
QuorumLossWaitDuration

获取或设置允许分区处于仲裁丢失状态的最长持续时间,以 ISO 8601 格式表示 (hh:mm:ss.s) 。

ReplicaRestartWaitDuration

获取或设置副本 (replica) 关闭到创建新副本 (replica) 之间的持续时间,以 iso 8601 格式表示 (hh:mm:ss.ss.) 。

ServiceLoadMetrics

获取或设置服务负载指标作为 ServiceLoadMetricDescription 对象的数组提供。

(继承自 ServiceResourcePropertiesBase)
ServicePlacementPolicies

获取或设置一个列表,该列表描述服务与其他服务的相关性。

(继承自 ServiceResourcePropertiesBase)
StandByReplicaKeepDuration

获取或设置在删除之前应保留 StandBy 副本的时间的定义,该定义以 iso 8601 格式 (hh:mm:ss.s) 表示。

TargetReplicaSetSize

获取或设置目标副本 (replica) 将大小设置为数字。

方法

Validate()

验证 对象。

适用于