ManagedServiceBaseProperties 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 ManagedServiceBaseProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceBaseProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceBaseProperties>
type ManagedServiceBaseProperties = class
interface IJsonModel<ManagedServiceBaseProperties>
interface IPersistableModel<ManagedServiceBaseProperties>
Public Class ManagedServiceBaseProperties
Implements IJsonModel(Of ManagedServiceBaseProperties), IPersistableModel(Of ManagedServiceBaseProperties)
- Inheritance
-
ManagedServiceBaseProperties
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
| ManagedServiceBaseProperties() |
Initializes a new instance of ManagedServiceBaseProperties. |
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)". |
| ScalingPolicies |
Scaling policies for this service. |
| ServiceLoadMetrics |
The service load metrics is given as an array of ServiceLoadMetric objects. |
| ServicePlacementPolicies |
A list that describes the correlation of the service with other services. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<ManagedServiceBaseProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<ManagedServiceBaseProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<ManagedServiceBaseProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<ManagedServiceBaseProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<ManagedServiceBaseProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |