StatelessServiceProperties interface

The properties of a stateless service resource.

Extends

Properties

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.

serviceKind

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

correlationScheme

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

defaultMoveCost

Specifies the move cost for the service.

partitionDescription

Describes how the service is partitioned.

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

provisioningState

The current deployment or provisioning state, which only appears in the response NOTE: This property will not be serialized. It can only be populated by the server.

serviceDnsName

Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.

serviceLoadMetrics

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

servicePackageActivationMode

The activation Mode of the service package

servicePlacementPolicies

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

serviceTypeName

The name of the service type

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 represented in ISO 8601 format (hh:mm:ss.s).

instanceCloseDelayDuration?: string

Property Value

string

instanceCount

The instance count.

instanceCount?: number

Property Value

number

serviceKind

Polymorphic discriminator, which specifies the different types this object can be

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 ServiceResourceProperties.correlationScheme

defaultMoveCost

Specifies the move cost for the service.

defaultMoveCost?: string

Property Value

string

Inherited From ServiceResourceProperties.defaultMoveCost

partitionDescription

Describes how the service is partitioned.

partitionDescription?: PartitionSchemeDescriptionUnion

Property Value

Inherited From ServiceResourceProperties.partitionDescription

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 ServiceResourceProperties.placementConstraints

provisioningState

The current deployment or provisioning state, which only appears in the response NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

Inherited From ServiceResourceProperties.provisioningState

serviceDnsName

Dns name used for the service. If this is specified, then the service can be accessed via its DNS name instead of service name.

serviceDnsName?: string

Property Value

string

Inherited From ServiceResourceProperties.serviceDnsName

serviceLoadMetrics

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

serviceLoadMetrics?: ServiceLoadMetricDescription[]

Property Value

Inherited From ServiceResourceProperties.serviceLoadMetrics

servicePackageActivationMode

The activation Mode of the service package

servicePackageActivationMode?: string

Property Value

string

Inherited From ServiceResourceProperties.servicePackageActivationMode

servicePlacementPolicies

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

servicePlacementPolicies?: ServicePlacementPolicyDescription[]

Property Value

Inherited From ServiceResourceProperties.servicePlacementPolicies

serviceTypeName

The name of the service type

serviceTypeName?: string

Property Value

string

Inherited From ServiceResourceProperties.serviceTypeName