StatelessServiceUpdateProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a stateless service resource for patch operations.
[Newtonsoft.Json.JsonObject("Stateless")]
public class StatelessServiceUpdateProperties : Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdateProperties
[<Newtonsoft.Json.JsonObject("Stateless")>]
type StatelessServiceUpdateProperties = class
inherit ServiceResourceUpdateProperties
Public Class StatelessServiceUpdateProperties
Inherits ServiceResourceUpdateProperties
- Inheritance
-
StatelessServiceUpdateProperties
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
StatelessServiceUpdateProperties() |
Initializes a new instance of the StatelessServiceUpdateProperties class. |
StatelessServiceUpdateProperties(String, IList<ServiceCorrelationDescription>, IList<ServiceLoadMetricDescription>, IList<ServicePlacementPolicyDescription>, String, Nullable<Int32>, String) |
Initializes a new instance of the StatelessServiceUpdateProperties class. |
Properties
CorrelationScheme |
Gets or sets a list that describes the correlation of the service with other services. (Inherited from ServiceResourcePropertiesBase) |
DefaultMoveCost |
Gets or sets specifies the move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High' (Inherited from ServiceResourcePropertiesBase) |
InstanceCloseDelayDuration |
Gets or sets 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 first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds. |
InstanceCount |
Gets or sets the instance count. |
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) |
ServiceLoadMetrics |
Gets or sets the service load metrics is given as an array of ServiceLoadMetricDescription objects. (Inherited from ServiceResourcePropertiesBase) |
ServicePlacementPolicies |
Gets or sets a list that describes the correlation of the service with other services. (Inherited from ServiceResourcePropertiesBase) |
Methods
Validate() |
Validate the object. |