共用方式為


StatefulServiceProperties Class

Definition

The properties of a stateful service resource.

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

Constructors

StatefulServiceProperties()

Initializes a new instance of the StatefulServiceProperties class.

StatefulServiceProperties(String, Partition, String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, String, String, String, String)

Initializes a new instance of the StatefulServiceProperties class.

Properties

CorrelationScheme (Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Gets or sets possible values include: 'Zero', 'Low', 'Medium', 'High'

(Inherited from ServiceResourcePropertiesBase)
HasPersistedState

Gets or sets a flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.

MinReplicaSetSize

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

PartitionDescription (Inherited from ServiceResourceProperties)
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)
ProvisioningState

Gets the current deployment or provisioning state, which only appears in the response

(Inherited from ServiceResourceProperties)
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".

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".

ScalingPolicies (Inherited from ServiceResourcePropertiesBase)
ServiceLoadMetrics (Inherited from ServiceResourcePropertiesBase)
ServicePackageActivationMode

Gets or sets the activation Mode of the service package. Possible values include: 'SharedProcess', 'ExclusiveProcess'

(Inherited from ServiceResourceProperties)
ServicePlacementPolicies (Inherited from ServiceResourcePropertiesBase)
ServicePlacementTimeLimit

Gets or sets the duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format "hh:mm:ss".

ServiceTypeName

Gets or sets the name of the service type

(Inherited from ServiceResourceProperties)
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".

TargetReplicaSetSize

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

Methods

Validate()

Validate the object.

Applies to