StatelessServiceProperties Class

Definition

The properties of a stateless service resource.

public class StatelessServiceProperties : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties
public class StatelessServiceProperties : Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedServiceProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatelessServiceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.StatelessServiceProperties>
type StatelessServiceProperties = class
    inherit ManagedServiceProperties
type StatelessServiceProperties = class
    inherit ManagedServiceProperties
    interface IJsonModel<StatelessServiceProperties>
    interface IPersistableModel<StatelessServiceProperties>
Public Class StatelessServiceProperties
Inherits ManagedServiceProperties
Public Class StatelessServiceProperties
Inherits ManagedServiceProperties
Implements IJsonModel(Of StatelessServiceProperties), IPersistableModel(Of StatelessServiceProperties)
Inheritance
Implements

Constructors

StatelessServiceProperties(String, ManagedServicePartitionScheme, Int32)

Initializes a new instance of StatelessServiceProperties.

Properties

CorrelationScheme

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

(Inherited from ManagedServiceBaseProperties)
DefaultMoveCost

Specifies the move cost for the service.

(Inherited from ManagedServiceBaseProperties)
InstanceCount

The instance count.

MinInstanceCount

MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.

MinInstancePercentage

MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.

PartitionDescription

Describes how the service is partitioned. Please note ManagedServicePartitionScheme 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 NamedPartitionScheme, SingletonPartitionScheme and UniformInt64RangePartitionScheme.

(Inherited from ManagedServiceProperties)
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 ManagedServiceBaseProperties)
ProvisioningState

The current deployment or provisioning state, which only appears in the response.

(Inherited from ManagedServiceProperties)
ScalingPolicies

Scaling policies for this service.

(Inherited from ManagedServiceBaseProperties)
ServiceDnsName

Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP). When updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name. When removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable.

(Inherited from ManagedServiceProperties)
ServiceLoadMetrics

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

(Inherited from ManagedServiceBaseProperties)
ServicePackageActivationMode

The activation Mode of the service package.

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

(Inherited from ManagedServiceBaseProperties)
ServiceTypeName

The name of the service type.

(Inherited from ManagedServiceProperties)

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.

(Inherited from ManagedServiceBaseProperties)
IJsonModel<ManagedServiceBaseProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ManagedServiceBaseProperties)
IJsonModel<ManagedServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ManagedServiceProperties)
IJsonModel<ManagedServiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ManagedServiceProperties)
IJsonModel<StatelessServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StatelessServiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedServiceBaseProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ManagedServiceBaseProperties)
IPersistableModel<ManagedServiceBaseProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ManagedServiceBaseProperties)
IPersistableModel<ManagedServiceBaseProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ManagedServiceBaseProperties)
IPersistableModel<ManagedServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ManagedServiceProperties)
IPersistableModel<ManagedServiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ManagedServiceProperties)
IPersistableModel<ManagedServiceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ManagedServiceProperties)
IPersistableModel<StatelessServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StatelessServiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StatelessServiceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to