Share via


ServiceResourcePropertiesParent interface

The service resource properties.

Extends

Properties

partitionDescription

Describes how the service is partitioned.

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.

serviceKind
servicePackageActivationMode

The activation Mode of the service package

serviceTypeName

The name of the service type

Inherited Properties

correlationScheme

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

defaultMoveCost

Specifies the move cost for the service.

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

serviceLoadMetrics

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

servicePlacementPolicies

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

Property Details

partitionDescription

Describes how the service is partitioned.

partitionDescription?: PartitionSchemeDescription

Property Value

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

serviceKind

serviceKind: "ServiceResourceProperties" | "Stateful" | "Stateless"

Property Value

"ServiceResourceProperties" | "Stateful" | "Stateless"

servicePackageActivationMode

The activation Mode of the service package

servicePackageActivationMode?: "SharedProcess" | "ExclusiveProcess"

Property Value

"SharedProcess" | "ExclusiveProcess"

serviceTypeName

The name of the service type

serviceTypeName?: string

Property Value

string

Inherited Property Details

correlationScheme

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

correlationScheme?: ServiceCorrelationDescription[]

Property Value

Inherited From ServiceResourcePropertiesBase.correlationScheme

defaultMoveCost

Specifies the move cost for the service.

defaultMoveCost?: "Zero" | "Low" | "Medium" | "High"

Property Value

"Zero" | "Low" | "Medium" | "High"

Inherited From ServiceResourcePropertiesBase.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 ServiceResourcePropertiesBase.placementConstraints

serviceLoadMetrics

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

serviceLoadMetrics?: ServiceLoadMetricDescription[]

Property Value

Inherited From ServiceResourcePropertiesBase.serviceLoadMetrics

servicePlacementPolicies

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

servicePlacementPolicies?: ServicePlacementPolicyDescription[]

Property Value

Inherited From ServiceResourcePropertiesBase.servicePlacementPolicies