StatelessServiceUpdateProperties interface
The properties of a stateless service resource for patch operations.
Properties
| instance |
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. It is represented in ISO 8601 format (hh:mm:ss.s). |
| instance |
The instance count. |
| service |
Inherited Properties
| correlation |
A list that describes the correlation of the service with other services. |
| default |
Specifies the move cost for the service. |
| placement |
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)". |
| service |
The service load metrics is given as an array of ServiceLoadMetricDescription objects. |
| service |
A list that describes the correlation of the service with other services. |
Property Details
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 first interpreted as a string representing an ISO 8601 duration. It is represented in ISO 8601 format (hh:mm:ss.s).
instanceCloseDelayDuration?: string
Property Value
string
instanceCount
The instance count.
instanceCount?: number
Property Value
number
serviceKind
serviceKind: "Stateless"
Property Value
"Stateless"
Inherited Property Details
correlationScheme
A list that describes the correlation of the service with other services.
correlationScheme?: ServiceCorrelationDescription[]
Property Value
Inherited From ServiceResourceUpdatePropertiesParent.correlationScheme
defaultMoveCost
Specifies the move cost for the service.
defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"
Property Value
"Zero" | "Low" | "Medium" | "High"
Inherited From ServiceResourceUpdatePropertiesParent.defaultMoveCost
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)".
placementConstraints?: string
Property Value
string
Inherited From ServiceResourceUpdatePropertiesParent.placementConstraints
serviceLoadMetrics
The service load metrics is given as an array of ServiceLoadMetricDescription objects.
serviceLoadMetrics?: ServiceLoadMetricDescription[]
Property Value
Inherited From ServiceResourceUpdatePropertiesParent.serviceLoadMetrics
servicePlacementPolicies
A list that describes the correlation of the service with other services.
servicePlacementPolicies?: ServicePlacementPolicyDescription[]
Property Value
Inherited From ServiceResourceUpdatePropertiesParent.servicePlacementPolicies