StatefulServiceUpdateProperties Class

Definition

The properties of a stateful service resource for patch operations.

public class StatefulServiceUpdateProperties : Azure.ResourceManager.ServiceFabric.Models.ServiceResourceUpdateProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.StatefulServiceUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.StatefulServiceUpdateProperties>
type StatefulServiceUpdateProperties = class
    inherit ServiceResourceUpdateProperties
    interface IJsonModel<StatefulServiceUpdateProperties>
    interface IPersistableModel<StatefulServiceUpdateProperties>
Public Class StatefulServiceUpdateProperties
Inherits ServiceResourceUpdateProperties
Implements IJsonModel(Of StatefulServiceUpdateProperties), IPersistableModel(Of StatefulServiceUpdateProperties)
Inheritance
Implements

Constructors

Name Description
StatefulServiceUpdateProperties()

Initializes a new instance of StatefulServiceUpdateProperties.

Properties

Name Description
CorrelationScheme

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

(Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Specifies the move cost for the service.

(Inherited from ServiceResourcePropertiesBase)
MinReplicaSetSize

The minimum replica set size as a number.

PlacementConstraints

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

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

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

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

(Inherited from ServiceResourcePropertiesBase)
ServicePlacementPolicies

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

(Inherited from ServiceResourcePropertiesBase)
StandByReplicaKeepDuration

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

TargetReplicaSetSize

The target replica set size as a number.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ServiceResourcePropertiesBase>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IJsonModel<ServiceResourcePropertiesBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IJsonModel<ServiceResourceUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ServiceResourceUpdateProperties)
IJsonModel<ServiceResourceUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ServiceResourceUpdateProperties)
IJsonModel<StatefulServiceUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<StatefulServiceUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ServiceResourcePropertiesBase>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.Write(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourceUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ServiceResourceUpdateProperties)
IPersistableModel<ServiceResourceUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ServiceResourceUpdateProperties)
IPersistableModel<ServiceResourceUpdateProperties>.Write(ModelReaderWriterOptions) (Inherited from ServiceResourceUpdateProperties)
IPersistableModel<StatefulServiceUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<StatefulServiceUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<StatefulServiceUpdateProperties>.Write(ModelReaderWriterOptions)

Applies to