StatefulServiceProperties Class

Definition

The properties of a stateful service resource.

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

Constructors

Name Description
StatefulServiceProperties()

Initializes a new instance of StatefulServiceProperties.

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)
HasPersistedState

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

The minimum replica set size as a number.

PartitionDescription

Describes how the service is partitioned.

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

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

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

ServiceDnsName

Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP). When updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name. When removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable.

(Inherited from ServiceResourceProperties)
ServiceLoadMetrics

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

(Inherited from ServiceResourcePropertiesBase)
ServicePackageActivationMode

The activation Mode of the service package.

(Inherited from ServiceResourceProperties)
ServicePlacementPolicies

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

(Inherited from ServiceResourcePropertiesBase)
ServiceTypeName

The name of the service type.

(Inherited from ServiceResourceProperties)
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<ServiceResourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ServiceResourceProperties)
IJsonModel<ServiceResourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ServiceResourceProperties)
IJsonModel<ServiceResourcePropertiesBase>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IJsonModel<ServiceResourcePropertiesBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IJsonModel<StatefulServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<StatefulServiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ServiceResourceProperties>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ServiceResourceProperties)
IPersistableModel<ServiceResourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ServiceResourceProperties)
IPersistableModel<ServiceResourceProperties>.Write(ModelReaderWriterOptions) (Inherited from ServiceResourceProperties)
IPersistableModel<ServiceResourcePropertiesBase>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<ServiceResourcePropertiesBase>.Write(ModelReaderWriterOptions) (Inherited from ServiceResourcePropertiesBase)
IPersistableModel<StatefulServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<StatefulServiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<StatefulServiceProperties>.Write(ModelReaderWriterOptions)

Applies to