Delen via


ServiceResourcePropertiesBase Class

Definition

The common service resource properties.

public class ServiceResourcePropertiesBase
type ServiceResourcePropertiesBase = class
Public Class ServiceResourcePropertiesBase
Inheritance
ServiceResourcePropertiesBase
Derived

Constructors

ServiceResourcePropertiesBase()

Initializes a new instance of the ServiceResourcePropertiesBase class.

ServiceResourcePropertiesBase(String, IList<ServiceCorrelation>, IList<ServiceLoadMetric>, IList<ServicePlacementPolicy>, String, IList<ScalingPolicy>)

Initializes a new instance of the ServiceResourcePropertiesBase class.

Properties

CorrelationScheme
DefaultMoveCost

Gets or sets possible values include: 'Zero', 'Low', 'Medium', 'High'

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

ScalingPolicies
ServiceLoadMetrics
ServicePlacementPolicies

Applies to