ServiceResourceUpdateProperties Class

Definition

The service resource properties for patch operations. Please note this is the abstract base class. The derived classes available for instantiation are: StatefulServiceUpdateProperties and StatelessServiceUpdateProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServiceResourceUpdateProperties))]
public abstract class ServiceResourceUpdateProperties : Azure.ResourceManager.ServiceFabric.Models.ServiceResourcePropertiesBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourceUpdateProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ServiceResourceUpdateProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceFabric.Models.UnknownServiceResourceUpdateProperties))>]
type ServiceResourceUpdateProperties = class
    inherit ServiceResourcePropertiesBase
    interface IJsonModel<ServiceResourceUpdateProperties>
    interface IPersistableModel<ServiceResourceUpdateProperties>
Public MustInherit Class ServiceResourceUpdateProperties
Inherits ServiceResourcePropertiesBase
Implements IJsonModel(Of ServiceResourceUpdateProperties), IPersistableModel(Of ServiceResourceUpdateProperties)
Inheritance
ServiceResourceUpdateProperties
Derived
Attributes
Implements

Properties

Name Description
CorrelationScheme

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

(Inherited from ServiceResourcePropertiesBase)
DefaultMoveCost

Specifies the move cost for the service.

(Inherited from ServiceResourcePropertiesBase)
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)".

(Inherited from ServiceResourcePropertiesBase)
ServiceLoadMetrics

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

(Inherited from ServiceResourcePropertiesBase)
ServicePlacementPolicies

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

(Inherited from ServiceResourcePropertiesBase)

Methods

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

Explicit Interface Implementations

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

Applies to