StatelessServiceUpdateProperties Class

Definition

The properties of a stateless service resource for patch operations.

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

Constructors

Name Description
StatelessServiceUpdateProperties()

Initializes a new instance of StatelessServiceUpdateProperties.

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

Delay duration for RequestDrain feature to ensures that the endpoint advertised by the stateless instance is removed before the delay starts prior to closing the instance. This delay enables existing requests to drain gracefully before the instance actually goes down (https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-application-upgrade-advanced#avoid-connection-drops-during-stateless-service-planned-downtime-preview). It is represented in ISO 8601 format (hh:mm:ss.s).

InstanceCount

The instance count.

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

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<StatelessServiceUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<StatelessServiceUpdateProperties>.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<StatelessServiceUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<StatelessServiceUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<StatelessServiceUpdateProperties>.Write(ModelReaderWriterOptions)

Applies to