ServiceResourcePropertiesBase Class

Definition

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ServiceResourcePropertiesBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ServiceResourcePropertiesBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ServiceResourcePropertiesBase>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ServiceResourcePropertiesBase>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ServiceResourcePropertiesBase>.Write(ModelReaderWriterOptions)

Applies to