Delen via


ManagedServiceBaseProperties Class

Definition

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

ManagedServiceBaseProperties()

Initializes a new instance of ManagedServiceBaseProperties.

Properties

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. Please note ManagedServicePlacementPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ServicePlacementInvalidDomainPolicy, ServicePlacementNonPartiallyPlaceServicePolicy, ServicePlacementPreferPrimaryDomainPolicy, ServicePlacementRequiredDomainPolicy and ServicePlacementRequireDomainDistributionPolicy.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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.

Applies to