ServiceResourcePropertiesBase 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 common service resource properties.
public class ServiceResourcePropertiesBase : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourcePropertiesBase>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourcePropertiesBase>
type ServiceResourcePropertiesBase = class
interface IJsonModel<ServiceResourcePropertiesBase>
interface IPersistableModel<ServiceResourcePropertiesBase>
Public Class ServiceResourcePropertiesBase
Implements IJsonModel(Of ServiceResourcePropertiesBase), IPersistableModel(Of ServiceResourcePropertiesBase)
- Inheritance
-
ServiceResourcePropertiesBase
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
| ServiceResourcePropertiesBase() |
Initializes a new instance of ServiceResourcePropertiesBase. |
Properties
| Name | Description |
|---|---|
| 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. |